Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
deleted 12 characters in body
Source Link
abatishchev

I was getting the same warning i did this  :

  1. unload project

    unload project

  2. edit project properties i.e .csproj

    edit project properties i.e .csproj

    3> add follow tag
  3. add the following tag:

     <PropertyGroup>
         <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
             None
         </ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
     </PropertyGroup>
    
  4. Reload the project

4)Reload project 5) Done...

<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>

I was getting the same warning i did this  :

  1. unload project
  2. edit project properties i.e .csproj 3> add follow tag

4)Reload project 5) Done...

<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>

I was getting the same warning i did this:

  1. unload project

  2. edit project properties i.e .csproj

  3. add the following tag:

     <PropertyGroup>
         <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
             None
         </ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
     </PropertyGroup>
    
  4. Reload the project

Source Link
yogeshwar gutte

I was getting the same warning i did this :

  1. unload project
  2. edit project properties i.e .csproj 3> add follow tag

4)Reload project 5) Done...

<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
default