Preprocess files are beeing ignored
See original GitHub issueSteps to reproduce
dotnet new
mkdir compiler
mkdir compiler/preprocess
echo "bang" > compiler/preprocess/test.cs
dotnet restore && dotnet build
Expected behavior
The build should blow up, or warn that preprocessing is not supported, not just silently ignore stuff. What is the roadmap for preprocessing? There seems to be a distinct lack of information around this.
Actual behavior
Build is successful, prepreocess sources are ignore, there are no warnings or errors.
Environment data
dotnet --version
output:
.NET Command Line Tools (1.0.0-beta-001598)
Product Information:
Version: 1.0.0-beta-001598
Commit Sha: N/A
Runtime Environment:
OS Name: ubuntu
OS Version: 14.04
OS Platform: Linux
Runtime Id: ubuntu.14.04-x64
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
How to show 'preprocessed' code ignoring includes with ...
You can use -dI to show the #include directives and post-process the preprocessor output. Assuming the name of your your file is foo.c...
Read more >possible to show ignored/"preprocessed" files and folders - ...
AFAICT ignored just filters out system hidden files and preprocessing probably sets all files without the same size to any other file to...
Read more >Ignoring Files and Folders in Git
So to ignore a file in git we use a .gitignore file inside that file you can mention whether you want a particular...
Read more >Overall Options (Using the GNU Compiler Collection (GCC))
GCC is capable of preprocessing and compiling several files either into ... Unrecognized input files, not requiring compilation or assembly, are ignored.
Read more >Global-defined preprocessor directives XFTR block are ...
Global-defined preprocessor directives in AppBuilder Extended Feature (XFTR) being ignored. Include files referenced as Method libraries ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yea this feature is dead and isn’t coming back unfortunately.
@enricosada yep, check out https://github.com/aspnet/dnx/issues/39 for a full description.