<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>azure service fabric &#8211; The Server Side Technology</title>
	<atom:link href="https://www.theserverside.technology/it/tag/azure-service-fabric/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.theserverside.technology/it</link>
	<description>in-depth information for tech pros</description>
	<lastBuildDate>Sun, 12 May 2019 12:24:20 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.1</generator>
	<item>
		<title>Azure Service Fabric: warning per incompatibilità dell&#039;architettura della CPU di una libreria</title>
		<link>https://www.theserverside.technology/it/2019/05/12/azure-service-fabric-warning-per-incompatibilita-dellarchitettura-della-cpu-di-una-libreria/?pk_campaign=feed&#038;pk_kwd=azure-service-fabric-warnings-about-mismatched-processor-architecture</link>
					<comments>https://www.theserverside.technology/it/2019/05/12/azure-service-fabric-warning-per-incompatibilita-dellarchitettura-della-cpu-di-una-libreria/?pk_campaign=feed&#038;pk_kwd=azure-service-fabric-warnings-about-mismatched-processor-architecture#respond</comments>
		
		<dc:creator><![CDATA[The Server-Side Technology Staff]]></dc:creator>
		<pubDate>Sun, 12 May 2019 12:11:37 +0000</pubDate>
				<category><![CDATA[Cloud Technologies]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[.net core]]></category>
		<category><![CDATA[azure service fabric]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[x64]]></category>
		<guid isPermaLink="false">https://www.theserverside.technology/?p=1360</guid>

					<description><![CDATA[<div style="margin: 5px 5% 10px 5%;"><img src="https://www.theserverside.technology/wp-content/uploads/2019/05/azure_servicefabric_intro-300x104.png" width="300" height="104" title="" alt="" /></div><div><p>Sviluppando una applicazione per Azure Service Fabric e aggiungendo una libreria .NET Standard al progetto ci si potrebbe imbattere in una serie di warning di Visual Studio come questo</p>
Warning MSB3270 There was a mismatch between the processor architecture of the project being built &#8220;MSIL&#8221; and the processor architecture of the reference &#8220;C:\[&#8230;]&#8221;, &#8220;AMD64&#8221;. This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
<p>Si tratta di un warning che indica che l&#8217;architettura selezionata per la CPU non è l&#8217;unica supportata da Azure Service Fabric e cioè x64. Probabilmente l&#8217;impostazione è AnyCPU e la libreria funzionerà correttamente ma per fare sparire i warning è sufficiente modificare il target di compilazione nell&#8217;apposita sezione Build di Visual Studio:</p>
<p></p>
<p>oppure impostare l&#8217;architettura target direttamente nel file .csproj del progetto:</p>
&#60;PropertyGroup&#62;
    &#60;TargetFramework&#62;netcoreapp2.0&#60;/TargetFramework&#62;
    &#60;PlatformTarget&#62;x64&#60;/PlatformTarget&#62;
    &#60;RootNamespace&#62;Microsoft.*.Tests&#60;/RootNamespace&#62;
&#60;/PropertyGroup&#62;
<p>E&#8217; sufficiente salvare il file ed effettuare una nuova compilazione : non si dovrebbero visualizzare altri warning.</p>
<p>Ovviamente bisogna ricordare che questa modifica renderà inutilizzabile la libreria nel contesto di una applicazione a 32bit.</p>
</div><img src="https://stats1.vaisulweb.cloud/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.theserverside.technology%2Fit%2F2019%2F05%2F12%2Fazure-service-fabric-warning-per-incompatibilita-dellarchitettura-della-cpu-di-una-libreria%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dazure-service-fabric-warnings-about-mismatched-processor-architecture&amp;action_name=Azure+Service+Fabric%3A+warning+per+incompatibilit%C3%A0+dell%27architettura+della+CPU+di+una+libreria&amp;urlref=https%3A%2F%2Fwww.theserverside.technology%2Fit%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
		
					<wfw:commentRss>https://www.theserverside.technology/it/2019/05/12/azure-service-fabric-warning-per-incompatibilita-dellarchitettura-della-cpu-di-una-libreria/?pk_campaign=feed&#038;pk_kwd=azure-service-fabric-warnings-about-mismatched-processor-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<enclosure url="https://www.theserverside.technology/wp-content/uploads/2019/05/azure_servicefabric_intro.png" length="103496" type="image/jpg" />
<media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.theserverside.technology/wp-content/uploads/2019/05/azure_servicefabric_intro-300x104.png" width="300" height="104" medium="image" type="image/jpeg">
	<media:copyright>The Server Side Technology</media:copyright>
	<media:title></media:title>
	<media:description type="html"><![CDATA[]]></media:description>
</media:content>
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.theserverside.technology/wp-content/uploads/2019/05/azure_servicefabric_intro-300x104.png" width="300" height="104" />
	</item>
	</channel>
</rss>
