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

Problem in designer while creating a new window in a WPF project in Visual Studio 2010.

$
0
0

Hello,

Whenever I'm trying to create a new window in a WPF project (C# or VB) in Visual Studio 2010, it fails to load the designer of the window and shows an error describing: "Could not load type 'Microsoft.Expression.DesignModel.Core.ISharedInstanceBuilder' from assembly 'Microsoft.Expression.DesignModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'".

However, I've Visual Studio 2017 installed in my PC too. But it doesn't show this message and WPF projects open and run just fine in it. Even, my WinForms projects in Visual Studio 2010 run absolutely fine. The problem is with WPF projects only.

Here's a screenshot of the error:

WPF error screenshot

Why am I getting this error in Visual Studio 2010 and how do I solve this problem? Please help.

Regards,

Priyam


SQL server project - Schema compare in Visual studio with/without Dynamic Data Masking settings

$
0
0

Hi,

Is it possible to ignore dynamic data masking settings when setting op a Publish profile in visual studio?

I want to be able to utilize DDM only in some specific environments. 

Thanks in advance

Watch window bugs

$
0
0

I do not know if this is the proper place to signal this.

Anyway when you add some vector to the variables control window (that appers on the right) application crushes.

This does not happens random, but sistematically.

My version of visula studio is always updated.

Regards

Repeated VS2015 error

$
0
0

I just installed VisualStudio2015 Community Update 3, and all works perfectly.

However, I'm getting the repeated (and quite annoying) "microsoft visual c++ package server has stopped working" error.

I've been up and down Google and I can't seem to find a fix anywhere.

All my coding is for C++ to a DLL.  Everything from Intellisense to project build works just fine.  Just the annoying error is driving me nuts.

I previously tried VS2019 Community, but for various reasons I had to revert to 2015 (long story).

Is this a problem that has been solved, or is there a solution that I've overlooked?

Message code: 715-123150

$
0
0

Hi 

I have a problem when signing in Visual studio Dev essentials. Once clicking on "Join or access now" following message is shown:

Something went wrong!

We are sorry, but our system has detected a problem with your account.  If you are still getting this error message after 24 hours, please contact support with the date and time you started having this problem . Message code: 715-123150.

I have done many things to deal with it such as deleting cash and cookies, creating new account and signing with the new account, but still facing the error.

I don't know what else I should do. If anybody has any suggestion?

Regards

Cannot access downloads :(

$
0
0

Hello,

When I tried to access account and download new Windows Server 2016 (Feb. Update), I received a message and got an Error code: "715-123150". I have had this error for 2 days and still cannot login now.

Please help me!

Thanks.

Evaluation Version of Visual Studio 2015?

$
0
0

Is it possible to download an evaluation version of 2015? 

Although I have an MSDN subscription, I'm creating a course on BizTalk 2016/2020.  There is no evaluation version for 2020, but there is one for 2016.  BizTalk 2016 requires Visual Studio 2015.  So in my view, a student could not evaluate BizTalk 2016 with also having an evaluation of Visual Studio 2015.  Students don't typically have money to buy a subscription, and i don't believe BizTalk 2016 won't work with the newer community versions. 

All my attempts to download it take me to a page that requires a Visual Studio subscription to download it.  Is there still an evaluation version of VS 2015? 

Thanks,
Neal 

Icons display incorrectly in editor

$
0
0

I am using Visual Studio 2010 with my new PC: Microsoft Surface Studio.  I am developing a C# desktop application.  This may be a  problem in the combination of VS 2010 and Surface Studio.

There are problems when editing a form Design.  The icons in my toolbars are displayed as tiny.

Another form shows all the controls as tiny and they overlap each other making it impossible to edit.

But if I compile the program and view the controls/icons, they display correctly.

Will I have to upgrade to a newer version of VS?

Thank you in advance.

- Michael Bate


Evaluation Version of Visual Studio 2015?

$
0
0

Is it possible to download an evaluation version of 2015? 

Although I have an MSDN subscription, I'm creating a course on BizTalk 2016/2020.  There is no evaluation version for 2020, but there is one for 2016.  BizTalk 2016 requires Visual Studio 2015.  So in my view, a student could not evaluate BizTalk 2016 with also having an evaluation of Visual Studio 2015.  Students don't typically have money to buy a subscription, and i don't believe BizTalk 2016 won't work with the newer community versions. 

All my attempts to download it take me to a page that requires a Visual Studio subscription to download it.  Is there still an evaluation version of VS 2015? 

Thanks,
Neal 

[Visual Code Studio] Unable to watch for file changes

$
0
0

Hi All,

When I open the Visual Code Studio, a message saying "Unable to watch for file changes in this large workspace ..." pops up.

I tried to add directories (even added the root directory) to the files.watcherExclude setting - nothing help.

How to fix?

Thank you!

Can't Uninstall/Reinstall Microsoft Visual C++ 2012 Redistributable 2012 (x64) - 11.0.61030 -

$
0
0
Hello,
I'm new here so apologies if this is posted in the wrong place. Also apologies if this has been asked before. Any help would be appreciated.
I have a new game that I am trying to install on to my computer but there is an issue with Microsoft Visual C++ 2012 redistributable (x64) which apparently needs to install in order for the game to install and run correctly. I found it and tried to repair/uninstall it multiple times to no avail and kept getting an error message. Finally today I downloaded and external program to uninstall it and managed to get it and any fragments removed. Restarted the computer and went to re download and install it from Microsoft and the same error message has appeared. I've been able to install/reinstall all other versions of this, 2010, 2008, 2013 and even the 2012 x84 version.

Error message is as follows:
Set Up Failed
One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.
0x8007015e - No action was taken as system reboot is required. You must restart your computer to complete rollback of the software.

Log File is as follows

[0B18:227C][2020-04-21T10:52:30]: Burn v3.6.3542.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\elccr\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523 (4).exe, cmdline: ''
[0B18:227C][2020-04-21T10:52:30]: Setting string variable 'WixBundleLog' to value 'C:\Users\elccr\AppData\Local\Temp\dd_vcredist_amd64_20200421105230.log'
[0B18:227C][2020-04-21T10:52:30]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\elccr\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523 (4).exe'
[0B18:227C][2020-04-21T10:52:30]: Could not load or read state file: C:\ProgramData\Package Cache\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\state.rsm, error: 0x80070003.
[0B18:227C][2020-04-21T10:52:30]: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030'
[0B18:227C][2020-04-21T10:52:30]: Detect 2 packages
[0B18:227C][2020-04-21T10:52:30]: Detected related bundle: {a1909659-0a08-4554-8af1-2175904903a1}, type: Upgrade, scope: PerMachine, version: 11.0.60610.1, operation: MajorUpgrade
[0B18:227C][2020-04-21T10:52:30]: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[0B18:227C][2020-04-21T10:52:30]: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[0B18:227C][2020-04-21T10:52:30]: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0B18:227C][2020-04-21T10:52:30]: Detect complete, result: 0x0
[0B18:227C][2020-04-21T10:52:34]: Plan 2 packages, action: Install
[0B18:227C][2020-04-21T10:52:34]: Condition 'VersionNT64 AND (VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1)))' evaluates to true.
[0B18:227C][2020-04-21T10:52:34]: Condition 'VersionNT64 AND (VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1)))' evaluates to true.
[0B18:227C][2020-04-21T10:52:34]: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0B18:227C][2020-04-21T10:52:34]: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0B18:227C][2020-04-21T10:52:34]: Planned related bundle: {a1909659-0a08-4554-8af1-2175904903a1}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[0B18:227C][2020-04-21T10:52:34]: Plan complete, result: 0x0
[0B18:227C][2020-04-21T10:52:34]: Apply begin
[0B18:227C][2020-04-21T10:52:34]: Apply complete, result: 0x8007015e, restart: Required, ba requested restart:  No


I'm at a loss so please help! I've looked all over the internet and have tried the answers in other threads but no luck.

Best Non-ClickOnce Solution

$
0
0

New to VS and .net (yeah, I know, just a tad late to the game) and we're upgrading some small, mostly uncomplicated VB6 apps that are run from a network drive on both workstations and users on an application server.

With the VB6 apps we'd run an install if necessary to put whatever components were needed on the workstation (dlls or OCXs) then all workstations and app server users had a tool bar on the task bar that pointed to the network drive.

If an app needed tweaking we'd just update the exe that everyone's task bar was pointing to and everyone was good to go.

I've spent a few hours looking at how to create a similar situation with the upgraded .net apps and would love to hear some opinions and ideas of the simplest way to do so.

Many thanks,
Ken

How to get technical support from Microsoft

$
0
0

Hi all,

How do i know if my current subscription includes the technical question support by microsoft ?

- referenced inside the visual studios subscription page

Collaborative working with Visual Studio Online

$
0
0

Hi,

I have a VS Enterprise subscription through my company and am trying to set up a collaborative dev environment with VS online.  I have created a DevOps Organisation and a project and created some domain users in Azure.  I then created an Environment in VS online and have successfully gone through the process of running up the hello world App in the VS online IDE with my account.

My question is; How can I share this Environment with my users? To set up VS online each user creates their own environment which appear to be just for them.

Is the VS online working model meant to be used in this way for working collaboratively on a project or am I barking up the wrong tree?

With many thanks for any help.

Hank V

Mouse Movements

$
0
0

A user recently reported seeing their mouse move and seemed to open a folder without them touching it.

Diagnostics have so far found no issues or spyware but the user does have VS installed and a addin "test.input.service"

I have no experience with VS, but after reading about this addin, could this be the cause?

If it was possibly the cause, some documentation would be great to use in this report.


os themes?

$
0
0
do you guys think windows 10 should have OS themes, like how windows 7 had the classic windows theme? it'd be neat for newer windows users to see what older versions were like. and it'd be pretty nostalgic to go back.

Is it possible to access object elements inside a Vector List?

$
0
0

Hi,

The following program works perfect. However I dont like the way I am doing it. I am initializing the structure vmFeatures first and then pushing into the Vector. That is a long way. I feel there must be easier way where I dont have to do the two steps but just push it straight to the vector list. What I mean is do something like this. Just with one push or do it in multiple lines but ultimately just to one push when all data has been initialized.  Instead of Vector String i had declared it as a array with index it would be very easy to do it. 

The following code does not work but that is how I wish things worked. 

VM_FEATURES vmFeatures, vmFeaturesPop;
    // Basically push all the values for one entry in the vector list in one line and then push again in a loop
    GPspFeatures.VmVpFeatures.push< ExecutionState = TRUE, SocketID = 0x1234, SystemId.push_back(L"0x234234"), VmName.push_back(L"MyVM1234"), VpPerVm = 23)

The following program works but not the way I want

#include <windows.h>
#include <stdio.h>
#include <vector>
#include <string>
using namespace std;

typedef struct _VM_FEATURES
{
    vector<wstring> VmName;
    vector<wstring> SystemId;
    UINT32 	SocketID;
    UINT32 	VpPerVm;
    bool	ExecutionState;							// Running or other state (Off, saved, waiting ... )
} VM_FEATURES, * PVM_FEATURES;

typedef struct _PSP_FEATURES						// Later on the plan is to fill with other devices like Containers, Storage
{													// RDT_FEATURES will contain info on devices supported. 
    vector<VM_FEATURES> VmVpFeatures;
} PSP_FEATURES, * PPSP_FEATURES;

PSP_FEATURES GPspFeatures;

int main()
{

    VM_FEATURES vmFeatures, vmFeaturesPop;
    vmFeatures.ExecutionState = TRUE;
    vmFeatures.SocketID = 0x1234;
    vmFeatures.SystemId.push_back(L"0x234234");
    vmFeatures.VmName.push_back(L"MyVM1234");
    vmFeatures.VpPerVm = 23;
    GPspFeatures.VmVpFeatures.push_back(vmFeatures);
    vmFeaturesPop = GPspFeatures.VmVpFeatures.back();
    GPspFeatures.VmVpFeatures.pop_back();
    return 0;
}

Thanks

Visual Studio MFC MDI with CRichEditView, get file path or file name on OnInitialUpdate

$
0
0


I created a MFC MDI application with CRichEditView.

I want to get open file path or file name on OnInitialUpdate

Any examples?

I am not able to sign in visual studio

$
0
0

HI,

Some blank sign in page is apearinng when i am signning in the visual studio.

i am following the below steps to sign in.

1. I am connecting to out develpment searver where VS 2017 professional is there.

2.opening visual studio as diffirent user(the user credential with i have vs 2017 pro subscription).

3.click on sign in in the top right corner.

4.Blank sign in page is appearing with one moment please mesage.

Please assist me for this..

This is urgent issue.

Regards,

Sunil

Solutions and Projects Structure

$
0
0

I have a solution containing:

MySolution.sln

App1.API layer App1.DataAccess layer App1.Services layer App1.Models layer

Now under the same solution, I am creating a second app. What approach would be the best or any other direction:

a) MySolution.sln

App1.API layer App1.DataAccess layer App1.Services layer App1.Models layer App2.API layer App2.DataAccess layer App2.Services layer App2.Models layer

OR

b) MySolution.sln

App1.API layer App2.API layer App.DataAccess layer App.Services layer -folder app1 -folder app2 App.Models layer -folder app1 -folder app2

OR

c) MySolution.sln

App1.API layer App2.API layer App.DataAccess layer App.Services layer -all services together App.Models layer -all models together

OR

d) One solution for each app

Viewing all 21115 articles
Browse latest View live


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