question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preprocess files are beeing ignored

See original GitHub issue

Steps 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:closed
  • Created 8 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
davidfowlcommented, Mar 12, 2016

Yea this feature is dead and isn’t coming back unfortunately.

1reaction
mauschcommented, Mar 11, 2016

@enricosada yep, check out https://github.com/aspnet/dnx/issues/39 for a full description.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found