I’ve been using Razor Templates to generate text blobs. For some reason, my razor templates stopped generating namespaces based on the file path and added underscores into the class name. I did the following to fix this issue.
Add this to the top of the cshtml file:
So the top of the file might look similar to this declaration:
@* Generator : Template TypeVisibility : Internal GeneratePrettyNames: true
GenerateAbsolutePathLinePragmas: true *@
Reference: Codeplex Link
Install the node modules and web driver
npm install protractor
And then running protractor against a conf.js file.
I’m assuming the command prompt is opened in the project root.
After installing an extension, I sometimes get the following error
A problem occurred when loading the Microsoft Visual Studio menu. To fix this problem, run 'devenv.exe /resetsettings' from the command prompt. Note: this command resets your environment settings.
Open up Developer Command Prompt and try the following:
and then start Visual Studio. If you still get an error, try starting it from the Administrator Command Prompt with the command
If connecting to us.archive.ubuntu.org is slow and the OS installation is new, it’s probably because the DNS is resolving the IPv6 address instead of IPv4.
To correct, edit the /etc/gai.conf file and un-comment the following line:
precedence ::ffff:0:0/96 100
Reference: Ask Ubuntu