cysharp / slnmerge Goto Github PK
View Code? Open in Web Editor NEWSlnMerge merges the solution files when generating solution file by Unity Editor.
License: MIT License
SlnMerge merges the solution files when generating solution file by Unity Editor.
License: MIT License
I have an issue, which might be an edge case for most people, but is causing some inconvenience when trying this.
I have a project setup: .Net Standard 2.0 library ==> Unity project for common stuff ==> Unity project for desktop
The .net standard library is referenced with the unity package manager(i created an asmdef for the project, then with upm you can add it with a relative file path) by the unity common project, then the desktop project references both the common project and the standard library.
The first unity project in the chain is working perfectly with slnmerge, but on the second one slnmerge duplicates the .net standard library, with both the actual one, and the one created by unity's automatic csproj generator. The problem with this, is that changes made to the standard library (for example renaming classes) breaks both Visual Studio and Resharper functions when changing stuff.
Could you make it so that when the sln is edited projects with the same name don't get both added? If not automatically maybe let it be configured by the merge settings?
I added #.cs file to Editor folder and .mergesettings file in Editor and Assets (was not sure where to put it), after deleting all project files I was no longer able to open c# project from unity as it stopped regenerating but since there is no error message I am not sure what I did wrong
It would be nice to not only edit the unity generated solution files, but make it work the other way around. Ie: modify the MergeTargetSolution file, and add the unity projects to it. Possibly optional in the merge settings like true which defaults to false
I am using this with https://github.com/jhett12321/Unity-SlnGen and when deleting the solution files, and regenerating the project, the two plugins override each other when generating the solution file.
Do you have an idea how to resolve this?
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.