Comments (10)
from csprojtovs2017.
Yeah, that's true. In our case I helpfully named the folder 'Libraries' instead, but maybe I could just change that instead rather than going to lots of effort with nuget client libraries.
Or maybe it could be a command line hint that can be passed in if you know what the packages folder is
from csprojtovs2017.
@hvanbakel I've started on it, but it looks like it could be done by applying the existing RemovePackageAssemblyReferencesTransformation after the other transformations have been applied. I was a bit surprised that the transformations are applied in parallel and not serially as a pipeline as I would think that some could benefit from the existing transformations as in this case.
I can submit what I've done anyway and leave it up to you
from csprojtovs2017.
from csprojtovs2017.
I'll have more of a play. I see now that AssemblyReferenceTransformation.RemoveExtraAssemblyReferences
is applied after the other transformations. I expect that was just missing our packages folder because it is called Libraries.
So perhaps the only change I will make is to apply the same fix for targets. One for tomorrow or next week now though.
from csprojtovs2017.
Is this still an issue?
from csprojtovs2017.
I suspect there are two issues, one is that maybe targets aren't picked up and the other is the assumption on 'packages' folder. I'm going to have a go at solving the 'packages' folder one this evening.
from csprojtovs2017.
from csprojtovs2017.
That's right yeah, the same as for AssemblyReferences and so the treatment should be the same for both. You want to leave open the possibility that somebody has manually added some targets from somewhere else so only to remove those that have clearly come from packages.
from csprojtovs2017.
I've restricted this issue now to just cover the custom nuget packages folder. About to submit pull request. I'll raise a separate one for targets
from csprojtovs2017.
Related Issues (20)
- Unsupported Project HOT 5
- Support Setting Target Framework in Wizard
- Bug: File Globbing Generates Removes for Referenced Files HOT 1
- Question about "It will simplify porting to other runtimes and enable possible .NET SDK tooling improvements" HOT 2
- GeneratePathProperty got lost during conversion HOT 2
- <COMReference> are lost during transformation HOT 3
- InitialTargets gets removed
- [feature] Move Microsoft.Expression.Interactions to NuGet package HOT 1
- [Request] Build target 3.1? HOT 2
- Option to only upgrade to Package Reference HOT 2
- PostBuildEvent not migrated correctly
- Should we officially retire this tool now that Microsoft have finally delivered their own tool HOT 6
- is there an effective way to convert 2019 csproj to 2017 csproj? HOT 4
- VB.NET projects transformation is not supported to .NET 5
- Now that the code has been migrated to .NET 6.0, can we have a new version published please? HOT 11
- Examples should exclude leading >
- System.Xml.XmlException: System does not support 'Windows-1252' encoding
- Duplicate entries in .csproj after migration
- ResXFileCodeGenerator removed during conversion
- Multiple PostBuildEvent properties after conversion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csprojtovs2017.