The main project csproj files contain includes to all non-code assets even ones in an AssemblyDefinitions directory, when it probably shouldn't.
Xamarin visual studio 2017 errors on updates code#
Edit the extensions define at the top of the script to ignore whatever extensions you want.)Įdit: Updated script: Uncommented the code I wrote to check for assemblydef folder contained includes in non-assemblydef csproj's that I thought wasn't needed but after further testing apparently is. (it also has the ignore extensions feature as well, so if you have Aurelinator's script you won't need it if using this one. I've attached the script for anyone who wants to use it, just put it in an Editor folder as usual. because that seems like it could be a big source of compilation time waste happening there. Hopefully Unity can implement this change internally though.
I was looking through the Editor DLL and found CompilationPipeline.GetAssemblyDefinitionFilePathFromAssemblyName() which I can use with the csproj's file name, and if it returns a string, it means we're working with an assembly definition csproj, and I can remove all the "
ctrl+w which was remapped to file>close won't close a tab. VS: Some times help>unity api documentation disappears.VS: VS complains that the project is a class library and not an executable.VS 2015: The 'Attach to Unity’ button disappears.VS for Mac: Opening scripts in Unity doesn’t start VS.The following issues are related and a fix for them will become available in one of the upcoming releases (the fix already exists). Autocomplete sometimes doesn’t validate on space and bracket. Regarding VS: The clipboard buffer has a leak and copied content gets deleted. Delete csproj+sln in the project folder.Play the game in Unity (to trigger a reload of the code in Unity).In the meantime, as a temporary workaround, you can The cause for this issue has been identified. Reloading closes the opened project tabs. Regarding VS 2017: Loading a project in VS and switching to Unity causes VS to throw a File Modification Detected error. Please submit bug reports + reproduction projects for your issues at