-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with compiling #69
Comments
You need to have a project and you need to follow the Getting Started guide on the main page, the extension does not do anything without the compilerconfig.json file. |
which project should I use for creating a front end/back end web page? |
Whichever one suits your project. |
Can you post your project so that I can replicate the issue? |
how do i post a project? |
basicaly that is why I asked which project would fit web design the best because it doesn't work on particular default projects. |
What project type does it not work with? Zip the project, click the image button, choose the zip file. |
WebApplication1.zip |
The zip file only contains the .sln file and the .vs directory. |
WebApplication1 (2).zip |
The project you posted is working exactly how you have it configured. When I save the scss file, it compiles successfully and the css file is created. Do you have file nesting enabled in Visual Studio? The compilerconfig.json is created when you right click a compatible file and select WebCompiler > Compile File. It would be overly invasive to create it in projects automatically. |
ok, but now i get this error which says that the system cannot find the specified path. What could be the problem? And should I have file nesting on or off? (it doesn't work with it nor without it) |
File nesting is a personal preference, it has no effect on the functionality of the extension. I need specific details to help; what file cannot be found? What did you change from the project you sent which is working as expected? I can only help if I can replicate your issue. |
the stylesheet1.scss file cannot be found, and I haven't changed anything. |
What's throwing the file not found error? If WebCompiler cannot find an input file, it will display " Web Compiler found an error in compilerconfig.json". It doesn't display an error in the Error List. It sounds like you are very new to development, if I were you, I would start with a basic website using html, css, and javascript, ,and get more accustomed to debugging in Visual Studio, then slowly start adding SCSS, TypeScript, MVC, Razor, Angular, React, etc... Identifying what Visual Studio is telling you in the Error list is going to be one of the most important skills you'll learn; debugging is 90% of development. |
yeah but my course is now teaching me about sass and I need to know how to deal with the basics. It is working on my friend's computer as well but there seems to be a problem with mine. I don't even know what this error means and I tried to search for it online but there is no explanation. I don't know if i should stick with manual compiler or should I hard reset my computer at this point. |
Try following these steps |
Installed product versions
Current behavior
I have downloaded and instaled the extention although it doesn't show me the options to compile my files.
Expected behavior
I should be able to compile my files
The text was updated successfully, but these errors were encountered: