Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

Nuget console insists to install a error package

$
0
0
Hi, people.
I tried to install Punch (https://www.nuget.org/packages/IdeaBlade.Cocktail/) using the NuGet console in my VS 2013 Ultimate update 4 and the install didn't work. It complained about the version of .Net, informing that the necessary version was not presente. I am using Win8.1 and updates are automatics...

Ok... I gave up to test this package (if it started wrong, it will be wrong ever...) but the NuGet console insists in install the package of DevForce that it could not install previously.

How can I disable the batch that start this installation every time I open NuGet console?

Thanks.

Space after negating exclamation mark

$
0
0

Hi, is it possible to add a space after a negating exclamation mark in the code formatting rules such as:

if (!true) {}   <- I don't want this style

if (! true) {}  <- I do want this

I think that the Tools -> Options -> Text Editor settings give me quite limited choices when it gets to customizing your code formats. I want to do this for JavaScript if that matters.

Unable to run macros

$
0
0
I am unable to run macros that ran before.  I am using Visual Studio 2008.  Does anyone know what is going on?

Walkthrough: Implementing an Inline Value Editor - working VS2012 version

$
0
0

Does anyone know if there is a current, working version of this preliminary walkthrough for VS2012?  I went through it, and it seems to be the same as the 2010 one, and solved a couple of problems (need to remove the 'generic.xaml' files), but the custom control property does not seem to be added properly in Metadata.cs.

Thank you so much for any help given!

Steve

A reference was created to embedded interop assembly

$
0
0

Hi

I have several warnings as below;

A reference was created to embedded interop assembly 'Accessibility' because of an indirect reference to that assembly from assembly 'System.Windows.Forms'. Consider changing the 'Embed Interop Types' property on either assembly.

What do I need to do to resolve these?

Thanks

Regards

VS Community :

$
0
0

Hi, I'm Pramana

I'm using Visual Studio 2013. My problem is every time when i want to run my C/C++ codes using local windows debugger error will occurred. 

Cannot find or open the pdb file. I have checklist the Microsoft Symbol Server, or download the PDB file ( 600mb size ) and install it on my local hardrive. And i did add the path to my PDB file on my local hardrive. 

Yet still error. 

here the list of error. 

'STACK-StrukturData.exe' (Win32): Loaded 'C:\Users\Cr7Pramana\Desktop\VStudio\STACK-StrukturData\Debug\STACK-StrukturData.exe'. Symbols loaded.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfc120ud.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'STACK-StrukturData.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
The program '[6332] STACK-StrukturData.exe' has exited with code 0 (0x0).

Seems my Visual Studio still load the PDB file from Windows\SysWOW64. Then how do i change the load address ? < maybe it will fix the problem ..  

// Update // 
Checklist the Microsoft Symbols Server and load the symbol from it, still same error 

Thank You

VB6 Legacy application

$
0
0

I'm brand new to Visual Studio (2008). My experience is with Access VBA and T-SQL.

I have inherited an old VB6 application that is broken. It has an exe and a bunch of VB files (bas, frm, frx, cls) and a couple of Access mdbs. I need to get into one of the forms and see what's going on.

My first question is How do I create a new project in VS for this existing app?

Thanx!


Darrell H Burns

VS 2012 WPF Designer

$
0
0

I tried to find the right forum to post this in, but couldnt see anything.  Is there an official version of this How To that works in VS 2012?  I've gone through the sequence (several times), but the editor is not used, and never appears in the property grid in VS2012.

https://msdn.microsoft.com/en-us/library/bb892994.aspx


MVC4 Using a Multi-Field Primary Table Key with a Webgrid Containing Checkbox

$
0
0

Hi,

I’m brand new to MVC4 development and didn’t see a priority forum related to ASP.NET MVC4 applications. So, I’m asking my question here. I was following a tutorial on selecting and deselecting checkboxes inside a Webgrid. The example could be found at:

http://dotnetawesome.blogspot.com/2014/07/selecting-deselecting-all-checkboxes-inside-webgrid-mvc4.html

I was able to use this example to create an application that used a table from my SQL 2012 database. Where the example at the link above uses a table that has a single field primary key, my primary key is made up of 4 fields. Using the primary key, if possible, I need to be able to identify which records have checkboxes selected, no matter how the table is sorted. These records will be modified and updated in the database.

Looking at the table using Management Studio, I see that the primary key has a name of the form PK_tablename. Is there a way to use the name of the primary key the same way the example uses the single field name? If not, is there some type of index number or unique record identifier that I could get using the primary key? An example of how to do it or a link to sample code would be appreciated.

Simulated geo-location missing on VS Community 2015 RC

$
0
0

Hi,

I wanted to use the simulated geo-location feature of the metro simulator but I didn't find it. Is there any way to enable it?

I'm using Microsoft Visual Studio Community 2015 RC.

Best,

"The project file was unloaded” when moving VS2010 project to another server

$
0
0

I have moved a Visual Studio 2010 project to another server by copying and pasting the folder contents into another folder on a different server.

My understand was that VS2010 handled this well; when I have done this locally it has never been an issue.

Now I get an error like this:

enter image description here

When I right click and "Reload project", the list of files briefly appears before disappearing again, giving the original error.

Am I doing something wrong?

Visual Studio 2013 Ultimate Update 4 XAML Designer crash

$
0
0

Hello all,

  I've done a search for this and I can't seem to find an answer anywhere.  Any time I try and use the XAML designer in VS2013, it crashes with:

System.Runtime.InteropServices.COMException
The app didn't start. (Exception from HRESULT: 0x8027025B)
   at Microsoft.Expression.HostUtility.AppPackage.AppPackageNativeMethods.IApplicationActivationManager.ActivateApplication(String appUserModelId, String activationContext, ActivateOptions options, Int32& processId)
   at Microsoft.Expression.HostUtility.AppPackage.WrtUtility.ActivateApplication(String appUserModelId, String activationContext, Object site)
   at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.ActivateApplicationInternal(String appUserModelId, String activationContext, Object site)
   at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
   at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
   at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

I've tried repairing and uninstalling VS2013 to fix the issue.  I've take my code to someone else with VS2013 and the designer loads fine.

Thanks for the help!


Eat.Sleep.Code.

I cannot deploy to my device.

$
0
0

Hello,

I made an app, and now, it won't deploy. There wasn't problem before.

The error is: Error : DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

Visual studio development server very slow

$
0
0

Hi,

I have developed project using  asp.net 4.0 visual studio 2010. when am running the project it will take 60-90 sec to reach page_load function. only particular project taking long time to reach page_load function. can any one have idea to resolve it.

Thanks.


Why does I do not have the architecture tool in my VS2013?

$
0
0

hi all,

I wanna to use the new feature in the vs2013, that the dependency graph using to analyzing the relationship between classes. But I cannot find where I can start the function, most people start with Architecture--->Generate Dependency Graph , but I can not find the "architecture" button, so what should I do?

thanks


XNA Studio For Visual Studio 2015

$
0
0
I am currently trying to write a program that will detect mouse click and convert them to xbox 360 controller triggers. I downloaded XNA studio 4.0 but when trying to install it, it tells me I need to have Windows Phone Developer Tools, Visual Studio 2010 or Visual C# Express. So am I not able to use XNA with Visual Studio 2015? Or can I download the Windows Phone Developer Tools just so I can download it and then use the XNA library with VS 2015? And no I'm not trying to make a phone app.

Visual Studio Community doesn't allow me to login

$
0
0

I've been trying to getting Visual Studio Community working on my computer (both 2013, and 2015 RC). However, when trying to activate either version, I always come across the same error.

"The online service is not available. Please try again later."

http://i.imgur.com/fpgPHVv.png

or if I try to 'Add an account', I get the following error: "an error occurred while sending the request".

http://i.imgur.com/f1fSs4H.png

Yet the website reports it as being up, and I see little other mention of this problems (I've tried Googling the various terms, unless I'm doing something wrong there isn't any help out there).

I'm on a Windows 8 machine. I've checked for any hosts entries. I don't have a firewall running on my router or on my computer. I don't have an antivirus program running either. I've restarted my computer, reinstalled VS. 

Any help? 

Visual Studio Code with Visual Studio 2013

$
0
0

Can Visual Studio Code be installed side by side with Visual Studio 2013 Community edition?

Where is Visual Studio Ultimate 2015 RC?

$
0
0

I couldn't find Ultimate 2015 RC anywhere on this page https://www.visualstudio.com/downloads/visual-studio-2015-downloads-vs but only Community, Enterprise, Code, Express and Professional versions are available .

However, if you scroll down and click on Professional 2015 RC link, under Language Packs it mentions "Visual Studio Ultimate 2015 RC, Visual Studio Professional 2015 RC, or Visual Studio Community 2015 RC must be installed before you can install the Language Pack."

Is it delayed for some reason or someone forgot to add it there?

More specifically, I need Ultimate RC so I can upgrade my Ultimate Preview install. It is a hassle to uninstall Preview to install Professional RC!


- a citizen of Microsoft Developer Network.

Data Driven test in CodedUI with excel as data source [Visual Studio 2013 and Excel 2013]

$
0
0

Hi All,

I am now facing an issue related to the data driven test using codedUI with Visual Studio 2013 and Excel 2013. Earlier I was using Visual studio 2012 and Excel 2010 was using the code:

"[DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xlsx)};dbq= F:\\Test\\Sample.xlsx;defaultdir=.;driverid=790;maxbuffersize=2048;pagetimeout=5;readonly=true", "Sheet1$", DataAccessMethod.Sequential), TestMethod]"

which serves the purpose for me. Now while I am using the same code for data driven test in Visual Studio 2013 and Excel 2013 I am facing an issue related to driver[Sorry for not bringing in the exact error message]. I am sure that someone is definitely aware of this issue.

Please do help me on this....Expecting your prompt response at the earliest.

Regards,

Viewing all 21115 articles
Browse latest View live


Latest Images

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