0

I have been having issues with boilerplate i am just starting out with the use of it but every time i download the template it gives me this error not sure why it does this.

any help would be appreciated

enter image description here

Phani Kumar M
  • 4,564
  • 1
  • 14
  • 26

2 Answers2

0

.NET Core 2.1

This bug has been fixed in .NET Core 2.1: https://github.com/dotnet/corefx/issues/23229

.NET Core 2.0

Delete the bin folder in the Web project and rebuild the solution.

Add the following to your project file:

<Target Name="RemoveNetFxForceConflicts" AfterTargets="ResolveAssemblyReferences">
  <ItemGroup>
    <ReferencePath Remove="@(ReferencePath)" Condition="'%(FileName)' == 'netfx.force.conflicts'" />
  </ItemGroup>
</Target>
aaron
  • 39,695
  • 6
  • 46
  • 102
0

As @aaron stated, the solution is deleting bin folder.

In details;

  • If you are using IIS, restart IIS.
  • Close Visual Studio. Delete all BIN & OBJECT folders.
  • Update Visual Studio to the latest. 15.4.0
  • Making sure ApplicationPoolIdentity's .NET CLR version is set to "No Managed Code".

PS: This issue is not directly related to aspnetboilerplate. It's about corefx...

Further information: https://github.com/dotnet/corefx/issues/23229

Alper Ebicoglu
  • 8,884
  • 1
  • 49
  • 55