I'm building a OWIN based Web-Application with Xamarin Studio on MacOS X.
How can I configure Xamarin Studio to build the CSS files from the LESS sources?
I have been looking for a solution to this myself. What I do now is I setup Grunt to do the compilation of the SASS files and run it in a command prompt.
Related
I have a ASP .NET CORE application, targeted in verion 6.0.
When I run it from Visual Studio it looks great, but when I run it using dotnet command:
dotnet webApplication1.dll
it looks like no .css styles or .js scripts where found and used.
I searched this documentation but cannot find the hint how to include styles path.
I think you are using the wrong command
You should use.
dotnet run
If you want to use the dotnet command you should publish you app before in order to have all the misc files.
You need to do :
dotnet publish
Before running the app using
dotnet Webapp.dll
I solved it by manually copying wwwroot folder to the \bin\Debug\net6.0 directory. For some reasons it is not being copied there automatically.
I am in the process of creating automated update scripts for my websites. All websites are built using WebForms in Visual Studio 2017 (Not Core).
What I want to do is run a command line calling the bundlerconfig.json to update bundles for a certain project.
From what I can see there is a way using dotnet bundle, but I think this is just for DotNet Core projects.
Would be good to know either way whether this is possible or not. Thanks in advance.
I am developing an angular JS application with webpack using TypeScript and SCSS files, so when I compile the solution I want to VS not create .js and css files.
Adding these lines in the csproj of the projects the .js files are not created after compiling:
<PropertyGroup>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
</PropertyGroup>
And now I want the same for the .css files.
I am using Visual studio Professional 2017.
The projects are developed using the version 4.5.2 of .NET Framework
Visual Studio does not do SCSS compilation by default. You've likely installed an extension which provides this functionality like the Web Compiler extension. Try disabling or removing the extension that is doing this to prevent the behavior.
Solution.
As Jimmy said, I have installed "BuildWebCompiler". After uninstall that nuget Packaged css files aren't generate when I compile the solution
I am using bower.json to install dependencies for an Apache Cordova app created from Visual Studio and was wondering if it is possible to run a pre build task somehow in VS 2015 using the new task runner explorer (or another way) to copy just the minified files from bower_components to www\scripts or if my only option is what is listed here?
If it is possible using gulp, please let me know how starting form the blank Cordova app VS template.
The Visual Studio guidance for using NuGet with Cordova projects actually has something that may help here. That document includes a note about how to setup a before_prepare hook to copy NuGet files into the www folder when building. In Cordova before_prepare is one hook into the build process that is similar to a Pre Build task.
I have a website project and some other projects that are tied up via a solution file. When I build the solution using visual studio, it does not create precompiled version of website but using msbuild to build the solution creates precompiled version.
We don't use precompiled code to deploy on servers so this version is not required in our process.
And this takes a lot of time to get created.
So how can I avoid creation of pre compiled version? Is there any switch or task that I can use in msbuild scripts to build the solution.
I need msbuild to simply build the solution.
currently the command that I am using is:
msbuild "ABC.sln"
MSBuild on the command line features a /t switch, which allows you to define build targets. You would use this switch to target all the other subfolders in the solution, leaving the website untouched.
MSBuild Command Line arguments on MSDN