I have a dotnet core class library that I have successfully been able to build using the dotnet cli "dotnet build --configuration Release". This is important because I am also building this project in Jenkins on a Linux server.
Recently, I needed to go in and make some modifications to the project. When building it again with "dotnet build --configuration Release", it built, but none of my changes and additions were present. Please note that it behaves consistently (successfully and unsuccessfully) between the Jenkins environment in Linux and my Windows 10 command prompt when using "dotnet build --configuration Release".
If I build with Visual Studio 2015 (which I assume uses MSBuild), all changes are then present after I build the class library, and all is right with the world.
I assume that there is something wrong with my project.json?
{
"version": "1.0.0.*",
"dependencies": {
"NETStandard.Library": "1.6.0",
"Dapper": "1.50.2",
"Dapper.Mapper": "1.50.1"
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
}
}