Comments (5)
I see. I will give it a try sometime. I think you can close the issue for now.
from antlr4buildtasks.
I updated the code to be more robust in the face of null pointers in SubtractList and MakeRelativeList. What happens here is that the Antlr Java tool outputs a list of files that it has generated. That list has to be cleaned up for MSBuild so it can compile those generated files. Unfortunately, MS's build rules for C# are rather picky: file names cannot be duplicated, otherwise one gets duplicate symbol definition errors in IDEs, builds. Please give the new package version a try by updating your .csproj file to 8.3 for Antlr4BuildTasks, and let me know how it goes. If this doesn't work, try to send me a diagnostic build trace, dotnet build --verbosity diagnostic. --Ken
from antlr4buildtasks.
Seems to work fine, thanks for the timely fix. Coincidentally, how do you debug the MSBuild task? If you have a prepared setup, could you please add it to this repository?
from antlr4buildtasks.
Yes, debugging a build is tricky. What I do is place a Sleep() call somewhere in the code, start the build, then do an attach to msbuild.exe that I guess is the right one, and set the breakpoint to somewhere. It's a real headache because there are processes spawning processes.
from antlr4buildtasks.
Building a C# program that only contains the .g4 file and no .cs files causes SubtractList to fail.
from antlr4buildtasks.
Related Issues (20)
- Error MSB3231: Directory %documents%/.jre cannot be deleted HOT 26
- Big performance hit after switch from `Antlr4.CodeGenerator` to `Antlr4BuildTasks` and `Antlr4.Runtime.Standard` HOT 3
- 64 bit version of functions? HOT 1
- Concurrency access to JAR file
- error ANT02: Went through the complete probe list looking for an Antlr4 tool jar, but could not find anything. Fail! HOT 2
- Error ANT02: Cannot find Java executable'' in .NET SDK Docker Image HOT 3
- Transitive Dependency Vulnerability HOT 3
- Cannot use `partial` to complement parser/lexer (unless namespace is explicitly specified) HOT 2
- Nuget has contains debug build HOT 6
- UnbufferedCharStream HOT 1
- Is MSBuild truly necesary? HOT 6
- WebClient is obsolete HOT 1
- 'JRE file used by another process' error when building through Azure DevOps HOT 13
- M2 Mac JDK Download Support HOT 2
- M2 Mac JDK Download Support HOT 1
- Creates parser that uses wrong fieldname when referencing field causing CS1001. HOT 1
- Questions about syntax parsing HOT 2
- Allowing empty string in lexer islands? HOT 5
- Wrong paths when building/publishing in docker. HOT 3
- Build runs on every compile HOT 2
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 antlr4buildtasks.