Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all 3509 articles
Browse latest View live

installing libaries without Nuget

$
0
0

There is an update to the Twilio.WebMatrix helper which I would like to get.

After the usual error messages from Nuget about all sorts of versions conflicts, I get can see the new updated library.

I get the prompt to update then followed by another error message "unable to resolve dependency 'Microsoft.Bcl(>= 1.1.19)"

Can I install the new helper myself without messing with Nuget?  How?

There are two files: twilio.cs and twilio.webmatrix.csproj fromthe download.

In my bin folder I only have files with  .dll


Visual Studio 2010 does not load current files anymore

$
0
0

I have been using Visual Studio 2010 Express for quite sometime now. After closing with files opened (and saved) it would always remember the files and reload them upon a new startup. But today that doesn't happen anymore.

I can't find an option that may need to be turned on again.

Does anyone know where that option is?

Unit Testing in VS2005

$
0
0

Hi,

I have a web applicaiton, I need to implement test automation for the same. I have tried Nunit for testing my dll's. I was trying to test my .aspx,.aspx.cs pages especially events and methods inside that page. Can anyone suggest some tool for testing web pages?

Note : I have tried NunitASP but not achieved the expected result.

Loop an async method

$
0
0

In my test project, I want to run several async methods in a loop, Test() below.

When I run the following TestLoop() method, the method Test() is only run once with no errors.

How do I get the loop to continue through all 10 iterations??

[TestMethod]
    public async Task TestLoop()
    {
        int intTotalTests = 10;

        for (int i = 0; i <= intTotalTests; i++)
        {
            await myTest();
        }
    }

Creating MVC project

$
0
0

I am currently creating a project by following the instructions online. My problem is when I create an MVC 3 application I don't get a secondary dialog box with Project Template "empty" , "Internet application" and "Intranet application ". I don't know why I don't.

Your help would much appreciated.

.Min files behavior in question

$
0
0

I'm missing something here I presume.  This thread started as a different kind of problem -- this here is the, ahem, cascade from that one (see my post in the CSS/HTML forum).

The issue revolves around .min files (in particular a min.css) not being updated/created.

in VS2013.  I've enableoptimizations set to true.  For good measure I've got debug set to false too.

<div>Try as I might I can't get the min file to generate/create.  My original issue was that the min wouldn't _re_generate after making changes to the debug version CSS.</div> <div>Whatever it is, its consistent.</div> <div></div> <div>I thought maybe  bundle.config  needed to include the min name (in order to know to create it) ala: <include path="~/Content/bootstrap.min.css" />.  uh uh.</div>

Then: maybe it needs to be rendered:<% styles.render("~/Content/css") %>   uh uh.

As I said, I presume I'm missing something.  Does anyone know what that is? thanks.

Microsoft Visual Studio 2013 Professional

$
0
0

- Does the VS 2013 Professional default installation features has the VB.net for Web?

-Is it possible to add Crystal Reports to the VS 2013 after completing its installation?

Empty screen when debugging

$
0
0

I am working with a project in visual web developer express.

Suddenly I only get empty screen when I debug. I get error when I read a error in the code, but else empty browser windows with all 
aspx files.

When debugging another project, the debugging works fine. The problem occur only for this specific project.

I suppose I have set something in the environment, 

Can someone give me a tips?

Tom Knardahl

Norway


webiste hosting probelm in browser

$
0
0

i host my website so when i open in any browser and browser is maximze then it is seem fine like this


when i restore down browser then webiste is look like this



so where is the problem?


 

ASP.NET One - Select a Template screen empty - VS PRO 2013 Update 3

$
0
0

Greetings

In VSPRO2013.3 when I go to create a new ASP.NET project, the Select a Template screen is blank

I see no options and the add folder/core reference are disabled...

I click Ok and Visual Studio crashes

I have attempted the following:

Reinstall VS templates via nsreinstalltemplates (or something like that)

Reinstalled VS all together... still no luck...

Any ideas? 

Need Help Parsing & Loading XMLTextReader Data to Database

$
0
0

Hi all, 
I fairly new to CSharp and having trouble figuring out the right code to use to parse and download XML data into a data table. 
I did a search but didn't come up with quite the right situation to use. Can you help?

Please see attached code. 

Thanks

using System;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using System.Data;
using System.IO;
using System.Text;
using System.Data.Sql;


    public partial class _Default : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        { 

            XmlTextReader reader = new XmlTextReader("https://www.xxxx.aspx"); 
            reader.WhitespaceHandling = WhitespaceHandling.Significant;

            XmlDocument xDoc = new XmlDocument();
            xDoc.Load(reader);



            DataSet ds = new DataSet();
            ds.ReadXml(new XmlNodeReader(xDoc));


        }
}

 

ASP data grid

$
0
0

Hi all, I have ASP datagrid which displays few columns from database. Now i added new column(case_desc) in the database but the datagrid is not displaying the new column. I am getting A field or property with the name "case_desc" was not found on the selected datasource. Urgent pls help 

Getting error - An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Xml.dll

$
0
0

I have a rather straightforward window desktop app which when i try to compile, I am getting above error.

I have references System.Web.Services assemble and also reference to assembly provided by another app. That app exposes and object called contentManger and it has and Url that i can access  so basically here is my code.

ContentManager cm = new ContentManager();

cm.Url = "http://servername:9900/p2pd/servlet/";

Why am i getting file not found exception?

Thnaks,

Cannot access IHttpActionResult in intellisense during sample

$
0
0

I'm following along in the example listed here on asp.net for using the web API, but I'm unable to use the IHttpActionResult interface. It doesn't show in Intellisense, and it throws an error when I manually put it in.

I'm using .NET framework 4.5.1, in VS2013 Express. I have the statement "using System.Web.Http;" at the top of the API controller, as listed in the example. On MSDN the article about this interface says it is in the System.Web.Http namespace, so I'm not sure why this isn't working, even with the using statement.

Is there something else I need to do, to make this work?

vs2013 express for web not working..

$
0
0

Dear All,

i have installed vs2013 express for web on my computer[windows 7, sp1) and when i tried to open the ide i got the following error as have run as admin.

upload_2014-10-15_10-38-28.png


i tried many solutions but didn't work our and my user account is admin account as well.when i tried to login admin account and able to open teh IDE.

looking forward your valuable reply.

Regards,
Mk


How to stop VS 2012 from displaying error list when ther are just warnings during file edit?

$
0
0
<div class="votenumber" style="display: block;">Is there a way to stop Visual Studio 2012 from popping up the Error List when there are only warnings? I am writing a .resx file for localization of my sitemap and every time I put .title in my Resource's Name column it generates a warning which then pops up the stupid error list. Is there a way from stopping this stupid list from popping up on only warnings during normal editing of a file. I have tried turning off the Tools -> Options -> Projects and Solutions -> General -> Always show Error List if Build finishes with errors. I have even set the build output to quite but that does not affect it either since these only affect builds and I am just editing not building.</div>

Any plugin for inline string resources editing?

$
0
0

I'm getting tired of the cumbersome process of editing strings in Resources.resx. First of all, have I missed something in VS2008? If I have a reference to Resources.SomeTextConstant in my code, do I really have to manually find and open resources.resx, scroll down to "S" for SomeTextConstant, click in the field and then edit? Hitting F12 only takes me to the designer.cs file.

What I would like is some plugin that gives me direct access to the text field from the code editor... Something like what I've illustrated here:

Illustration of resource editing in the code editor

Anyone?

 

 

Web Developer Tools FAILURE

$
0
0

I have installed Visual Studio 2012 Express for Web and loaded an existing web site. I ran Web Developer Tools and selected Security. I got the following error message:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Unable to connect to SQL Server database.

I have created the web site in Expression Web 4 and I have installed Members Login. I am not experienced in Visual Studio.

What is my problem and what is the solution?

could not find object\debug\... \ x.csproj.filelistabsolute.txt when publishing

$
0
0

hi all,

I am having problem when i publish project and i can see

coping file......

could not find object\debug\... \ x.csproj.filelistabsolute.txt

please help

OK to uninstall team foundation server?

$
0
0

I use Visual Studio 2012 Express for doing websites, working solo.

Can I safely uninstall Team Foundation Server? Unless it is being used in the background somehow, I have never used it to my knowledge.

Viewing all 3509 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>