michelz / msbuild.entityframeworkcore.removedesignercompilation Goto Github PK
View Code? Open in Web Editor NEWMakes sure that only the last N .Designer.cs files from Entity Framework Core Migrations are compiled.
License: MIT License
Makes sure that only the last N .Designer.cs files from Entity Framework Core Migrations are compiled.
License: MIT License
Installed and used with default settings. After building project, Designer.cs files are removed and Script-Migration (NPM) command crashes with the following error:
There is no entity type mapped to the table 'TableName' which is used in a data operation. Either add the corresponding entity type to the model, or specify the column types in the data operation.
Reverting to the commit where the designer file still exists fixes the issue.
Installed and used as follows
<ItemGroup>
<PackageReference Include="MSBuild.EntityFrameworkCore.RemoveDesignerCompilation" Version="0.1.0-alpha6" />
</ItemGroup>
<PropertyGroup>
<RDC_Enabled>true</RDC_Enabled>
<RDC_DesignerFileCountToKeep>5</RDC_DesignerFileCountToKeep>
</PropertyGroup>
On build it removes all designer files, so the count property gets ignored somehow.
.net deps @ 7.0.13
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.