Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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