Skip to content

Instantly share code, notes, and snippets.

@PadreSVK
Created June 20, 2019 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PadreSVK/cff2a89b489b4bb484ac5c5fbff6a68c to your computer and use it in GitHub Desktop.
Save PadreSVK/cff2a89b489b4bb484ac5c5fbff6a68c to your computer and use it in GitHub Desktop.
Original csproj generated from default template in visual studio and from dotnet CLI
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<!--Include Views-->
<Content Include="**/*.dothtml" Exclude="obj/**/*.*;bin/**/*.*">
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
<!--Include MasterPage Views-->
<Content Include="**/*.dotmaster" Exclude="obj/**/*.*;bin/**/*.*">
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
<!--Include Custom Control Views-->
<Content Include="**/*.dotcontrol" Exclude="obj/**/*.*;bin/**/*.*">
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Remove="dotvvm_serialized_config.json.tmp" />
<None Remove="Views\CRUD\Create.dothtml" />
<None Remove="Views\CRUD\Detail.dothtml" />
<None Remove="Views\CRUD\Edit.dothtml" />
<None Remove="Views\MasterPage.dotmaster" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="DotVVM.AspNetCore" Version="2.2.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Texts.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
</EmbeddedResource>
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment