Comments (5)
Hi, I noticed the same, googled... found a fix, did not yet have time to implement it.
Will make this a prio.... I might have some time this evening.
Regards,
Jelle
from libsassbuilder.
Hi Mark, thanks for the detailed steps!
I was able to replicate this issue, even without LibSassBuilder
, as it seems related to this VS issue.
Replicate by just having this in the .csproj
and add a new .scss
file:
<ItemGroup>
<FooFile Include="**/*.scss" />
</ItemGroup>
By tracking the files in ItemGroup
- VS just adds these extra elements for some reason:
VS is trying to avoid double-including the same file. The Microsoft.Net.Sdk has a None "glob" that includes everything under the project root that isn't a Compile or EmbeddedResource. Opt out of that by setting EnableDefaultNoneItems property to false.
Unfortunately those suggestions didn't work for me. @JelleHissink do you have any thoughts on this?
from libsassbuilder.
I found some time during my lunch break...
from libsassbuilder.
Awesome thanks @JelleHissink !
This fix is available in v1.6.2
from libsassbuilder.
Thanks @johan-v-r and @JelleHissink for taking a look so quickly and fixing the issue.
I hadn't realised that this is a Visual Studio issue, but I'm glad that you managed to find a fix for it - MSBuild is something of a mystery to me so there's no way that I've have got to a solution myself!
Thanks again.
from libsassbuilder.
Related Issues (20)
- The process cannot access CSS file on build HOT 1
- Set IncludePaths via project property
- Automatically creating ItemGroup/Include references with new files. HOT 1
- project doesn't read the compiled CSS file HOT 1
- Regenerate deleted compiled CSS when SCSS still exist HOT 1
- Plans for supporting arm64 architecture on macOS (i.e. Apple M1 CPUs)? HOT 3
- Do not override if only white space (or EOL) changes HOT 7
- Plans for NET7 support HOT 3
- Generate .map files HOT 1
- Setting config file to move output HOT 2
- I can't get the package to work on MacOS (v2.0.0) HOT 1
- LibSass run on Save HOT 1
- Blazor app archiving fail HOT 2
- 2.0.3 build fails on Ubuntu - tool/LibSassBuilder: not found HOT 8
- Outputstyle 'condensed' should be named 'compact' HOT 1
- Sass compilation not finished when moving to next build step? HOT 1
- Switch from LibSassHost to DartSassHost HOT 2
- Setting file encoding HOT 1
- Installing LibSassBuilder hides SCSS files from the solution explorer in Rider #27 HOT 1
- Generates file perfectly, but cannot access in Blazor WASM
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 libsassbuilder.