I opening angular 4 with asp.net core project with this command
yo aspnetcore-spa
and then I choose angular and I get a new template. I mean I see files I never see before e.g : app.module.clinet.ts , app.module.server.ts
but before a week I opened project and I don't see that and I want this version (to downgrade because I don't really love the changes)
I want as in the photo
Related
I have created a sample project using Visual Studio 2017. The project is ASP.NET Core Web Application with Angular (the Angular template comes with the latest VS2017). The project was created and is working great.
I would like to update the bootstrap to the latest - what would be the best way to do that? I have tried copying over, importing in _Layout.cshtml and Index.cshtml but fails...
I am pretty new in this area, so any help would be greatly appreciate.
Thanks
Working with an empty solution here, but should be the same.
In your solution explorer, under Dependencies, there is a "npm" folder.
Right click on the folder and click "Open package.json"
Find "bootstrap" under devDependencies, and change the version to the one you want.
Pressing Ctrl+Space should show you the latest stable version if you just want the latest
If it doesn't automatically update the package for you then:
Go back to, and open the "npm" folder in the solution explorer.
Find bootstrap, and right click and select "Update Package"
Let me know if I missed anything.
I'm starting a new project with asp.net mvc4 internet application.
First thing I did was install a package called Twitter Bootstrap for Asp.Net MVC 4 Sample via nuGet.
This installed other two packages Bootstrap and Twitter Bootstrap for Asp.Net MVC 4.
When I run the application,I get this
I didn't face this problem in previous projects. When I installed twitter bootstrap, things were fine when i built the application.
Can anyone explain or suggest, what might be going wrong?
Edit 1:
I have another project where bootstrap works fine. When I run the two projects in chrome and check the network, file that are loaded for both the projects are same.
There is a file BundleConfig.cs (or a specific BootstrapBundleConfig.cs) in your "App_start" folder of your MVC4 project.
It will have a declaration of something like this:
// It won't look exactly like this..
bundles.Add(new StyleBundle("~/Content/bootstrap/css/style").Include(
"~/Content/bootstrap/css/bootstrap.css",
"~/Content/bootstrap/css/bootstrap-theme.css"
));
Now you must go to your "Views/Shared/_Layout.cshtml" file (or whatever you base layout is) and add the following line within your head section.
<head>
/// Other stuff in here
// This renders the boostrap style
#Styles.Render("~/Content/bootstrap/css/style")
// include any overrides to bootstrap you have after the library
</head>
Good afternoon.
I've tried to find an answer to this question but can't seem to find one.
I'm using a study guide to teach myself HTML5 and CSS3. This study guide comes with some material to use for exercises.
The first step is for me to create a new project using the provided material but every time I try I am told that the folder I have set for the project is not empty.
The steps I am told to use are as follows:
File > New > Web Project
Set Template
Next
Project Name
Uncheck "Use default Location"
Browse to the folder containing the provided material for the exercises.
When I complete step #6 I receive the following message:
Folder 'c:\target' is not empty
At this point I am unable to click either the Next or the Finish button.
Am I missing something? There are approximately 20 chapters worth of exercises with each exercise consisting of multiple files. Do I really have to import them individually?
I am using Aptana Studio 3, build: 3.4.0.201304151603 in Windows 7 Professional 64bit.
Thanks.
Instead of choosing File > New > Project, use File > Import > Existing Folder as New Project.
I'm using Aptana Studio 3 on a Mac with Mountain Lion. I do not find 'Existing Folder as New Project' under the File > Import menu. The Import menu item under File just brings up a dialog box asking for a source.
In Aptana Studio 3 I found the 'Existing Folder as New Project' by using import--General-->Existing Folder as New Project.
I am getting error, Entry-point asset is required in Configuration Default, when I import Blackberry 10 sample app. I can see the error in bar-descriptor.xml in assets tab and there is no configuration. How can I solve that?
I think that's not the good answer.
When you import your project dont select Blackberry. Under the General folder, click Existing Projects into Workspace, then click Next.This must work.
Importing a sample
1 Download a sample app from https://github.com/blackberry/NDK-Samples
2 Extract the sample zip file to a location on your hard drive.
3 In the IDE, on the File menu, click Import.
4 Under the General folder, click Existing Projects into Workspace, then click Next.
5 Click Finish.
The sample should now appear in the Project Explorer.
http://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.quickstart/topic/running_sample_apps.html
By the drop down SDK selector in your screen shot, it looks like you are running 10.0.9.1101, which is an old version of the SDK. The current Gold SDK is 10.0.9.1673.
Make sure you have downloaded the new one: https://developer.blackberry.com/cascades/download/
Once you have, you can change the SDK from the drop down. The setting is saved on a per-workspace basis, and does not get updated automatically when you install a new SDK.
I've got myself an MVC2 web applicatin using .NET Framework 4 and am following these instructions to the T. However at step 10 when I save the updated ProjectTypeGuids I get a message saying "The project file projectname.csproj cannot be opened. The project type is not supported by this installation."
I do have MVC3 installed and am running VS2010, so I don't know what could the going wrong. Anyone have any thoughts on the matter? Thanks!
EDIT:
For what it's worth. If I create a blank project from scratch, I have the ability to create a new MVC3 project. However, if I right click on my solution and click add->New Project... I can only add MVC2 projects. This leads me to think that the solution is configured somehow to only support MVC2, however I can't figure out how to change it.
There is an extra package which is ASP.NET MVC 3 Tools Update, you must download and install it too.
Solution 1:
Open the visual Studio Find In Files Dialog and Select your project folder, then search for old GUID and replace it with new one exactly. Backup the directory before doing this.
Actually You must select the whole solution folder and search all the files not a specific extension.
Solution 2:
You must take a careful look at your csproj and sln files and compare it with a working one on your system to find the difference. if you have file compare tools like winmerge, use it to compare files character by character