Comments (10)
Oh, misread your question: in a non-Windows system, yes, that fixes the issue for me (I'm on OSX).
from buildalyzer.
Very well could be an issue with non-Windows platforms. I'm currently trying to get my CI build to work (fighting some annoying differences between the VS test runner and dotnet test
at the moment). Once I've got that up and running, I'll be able to push a patch to MyGet that I'd like you to try.
from buildalyzer.
I created a PR to fix this error (and a related one): https://github.com/daveaglick/Buildalyzer/pull/67/files
I've also identified places in EnvironmentFactory
where directory separators are being used on a Windows-specific manner. But I'll create separate patches for those.
from buildalyzer.
Awesome, thanks! I'm in the process of getting CI working on both Windows and Ubuntu via AppVeyor (as you can see from my recent commits). I'll get this merged right after - it'll be a good indication that my Linux builds are working correctly. Has this change been tested locally on your non-Windows system?
from buildalyzer.
We do run our tool on Windows, for .NET Framework applications. But we're not yet complete enough in terms of testing. So I'd recommend that you test it yourself - feel free to cherry pick from the branch (I'll keep that branch evolving, but I'm not sure whether general changes might interest you).
from buildalyzer.
One more comment... You'll notice that I also made path separators cross-platform even for .NET Framework (i.e., on Windows) stuff. This is because our tool allows static analysis of .NET Framework applications on non-Windows system, by requiring that the user copies VS Build tools and reference assemblies files and places them in a way that their directory organization mimics the original one in Windows.
from buildalyzer.
Done: #68
If you're OK with, please give permission to push branches to your repository, this would make things easier for me when submitting PRs (otherwise, I need to push them on "my upstream" first).
from buildalyzer.
Hum... Think I did a little mess during merge. Hold on.
from buildalyzer.
Fixed. :)
from buildalyzer.
I just published Buildalyzer 2.0 which runs MSBuild out-of-process (as opposed to the old way of running it via MSBuild APIs). In general, if you can build it Buildalyzer should now be able to build it. Given how drastically different this new technique is, I'm closing all existing bug reports.
Please try the new version and if you're still having problems, please open a new issue.
from buildalyzer.
Related Issues (20)
- Unsupported log file version HOT 8
- Cache dotnet info results per global.json file HOT 5
- Error when trying to read dotnet --info HOT 3
- multiple Buildalyzer.Tests unit tests are failing HOT 3
- Make working directory used by ProcessRunner configurable HOT 3
- [Discussion] Calling `GetCompilationAsync` on ASP.NET Framework project returns empty compilation HOT 3
- Help offered HOT 1
- Could not load file or assembly `NuGet.Frameworks` HOT 16
- Build/assembly reference not found errors due to random sorting of the projects in the Workspace when loading projects from solution file HOT 9
- Xml documentation is missing for imported symbols in Roslyn Projects HOT 3
- Looking For A New Maintainer HOT 4
- Sponsoring HOT 4
- Coding style, static code analysis, and versioning HOT 15
- Immutability HOT 3
- Targeting netstandard HOT 1
- Error running on macos-14-arm64 image
- Buildalyzer hangs if build does not start
- Buildalyzer seems to be using C# 11 instead of 7.3 on some machines even for a .NET 4.8 project. HOT 8
- Making the library language-agnostic HOT 1
- Buildalyzer should be able to build projects with C# 12 language features
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 buildalyzer.