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

Developer Command Prompt will not run exe

$
0
0

Hello,

I'm trying to run my code on the Developer Command Prompt and when I type in "program.exe", for example, I just get a new line and nothing happens. I can't even continue after this it stays on the line and I am forced to close the Command prompt.

These EXEs that I am trying to run are C# code, I know they work because I can get them to run on my University's computers. This is quite urgent as I have an assignment due in a few days and if I can't get the prompt fixed, I'm pretty screwed.

Any help would be appreciated.

Thanks.


Problem with Starting Mobile Emulators in VS 2015

$
0
0

I'm still having a problem with starting phone emulators in VS2015. They were seemingly working fine at one point, but after several days of not using emulators, I went back to trying to use one and now get the following errors when attempting to run several of the universal window examples from Microsoft:

Severity Code Description Project File Line
Error  Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'A6BAF594-9315-40C3-AD16-F5B8A425A7AB'.':
SystemException - A method was called on an uninitialized object. DataReaderWriter.WindowsPhone  

Severity Code Description Project File Line
Error  Error : DEP6200 : Bootstrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. DataReaderWriter.WindowsPhone  

I also get an "Attempting to modify switch settings" warning message before the emulator fails to load.

Does anyone have any idea what is going on here?

Thanks.


Steve Hunt

Visual Studio Shows Build Failed But No Errors are Displayed

$
0
0

I have enabled the Error List at the bottom of my visual studio 2010, and when I build my project, it tells me build failed, however the error list does not produce any errors?

Is this a settings?  Has my project become corrupt?  Someone help! :)

Visual Studio 2015 Update 1 breaks configuring devices for driver development.. [bug]

$
0
0

When I go to Driver->Test->Configure Devices I immediately get an error box that says: "Inappropriate request for export from part that belongs to another sharing boundary."

This happens every time, and did not happen before the update.

Visual Studio FTP Log On Screen Locks up in Windows 10

$
0
0

I am using Microsoft Visual Studio Express 2015 for Web and have just upgraded to Windows 10. Since the upgrade, VS locks up  on the "FTP Log On" screen every time I use "Copy Web Site..." (See screenshot below). It seems like many developers are having the same issue, but I am unaware of a solution to the problem. This is a major issue since users can no longer synchronize their remote and local files. Does anyone know of apermanent solution? 


XAML designer crash: System.UnauthorizedAccessException

$
0
0

I've been using VS2015 Community edition for some time with no problems. Now, all of a sudden, the XAML designer displays the page for a few seconds and then crashes. This happens for all of my projects. I have recently upgraded the Advertising Mediator control, but I don't know if there is some correlation. The message I get is the following:

System.UnauthorizedAccessException

Access denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) at System.Runtime.DesignerServices.WindowsRuntimeDesignerContext.GetType(String typeName) at Microsoft.VisualStudio.DesignTools.Utility.WindowsRuntimeService.WindowsRuntimeContext.GetTypeFromWindowsRuntimeDesignerContext(String name) at Microsoft.VisualStudio.DesignTools.Utility.WindowsRuntimeService.GetRuntimeType(String typeFullName) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.EmitContext.GetTypeFromRuntimeService(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.EmitContext.GetPlatformTypeInternal(Type type, Func`2 getPlatformType) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.EmitContext.GetPlatformTypeInternal(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.EmitContext.GetPlatformType(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.GetKnownType(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.DefineType(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.MockType(Type type) at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockType.InitializeMockType() at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockType.get_RuntimeType() at Microsoft.VisualStudio.DesignTools.Platform.Metadata.ProjectContextType.InitializeClass() at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MemberCollection.get_AttachedPropertyIndex() at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MemberCollection.CreateAttachedProperty(String propertyName, MemberKey& key) at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MemberCollection.CreateMember(MemberType memberTypes, String memberName, MemberKey& key) at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MemberCollection.TryGetCachedMember(MemberType memberTypes, String memberName, Boolean create, IMember& member) at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MemberCollection.GetMember(MemberType memberTypes, String memberName, MemberAccessTypes access) at Microsoft.VisualStudio.DesignTools.Platform.Metadata.ProjectContextType.GetMember(MemberType memberTypes, String memberName, MemberAccessTypes access) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyMerger.GetPropertiesFromSelection(IEnumerable`1 selectedSceneNodes, Boolean includeStatics) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyMerger.GetMergedProperties(IEnumerable`1 selectedSceneNodes, Boolean includeStatics) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.GetPropertiesToShowInternal(IReadOnlyList`1 selectedObjects) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.GetRenderedProperties(IReadOnlyList`1 selectedObjects) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.UpdateOnSelectionChanged(Boolean forceUpdate, Boolean shouldCloseOpenTransactions, Boolean clearAddedProperties) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.UpdateSelectionCore(Boolean forceUpdate, Boolean shouldCloseOpenTransactions, Boolean clearAddedProperties) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.UpdateSelection(Boolean forceUpdate, Boolean shouldCloseOpenTransactions, Boolean clearAddedProperties) at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.PropertyInspectorModel.PropertyManager_MultiplePropertyReferencesChanged(Object sender, MultiplePropertyReferencesChangedEventArgs args) at Microsoft.VisualStudio.DesignTools.Designer.Properties.PropertyManager.FireAllPropertyChangedEvents(SceneUpdatePhaseEventArgs args) at Microsoft.VisualStudio.DesignTools.Designer.Properties.PropertyManager.SelectionManager_LateActiveSceneUpdatePhase(Object sender, SceneUpdatePhaseEventArgs args) at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.SceneUpdatePhaseEventHandler.Invoke(Object sender, SceneUpdatePhaseEventArgs e) at Microsoft.VisualStudio.DesignTools.Designer.Selection.SelectionManager.FireLateActiveSceneUpdatePhase(SceneUpdatePhaseEventArgs args) at Microsoft.VisualStudio.DesignTools.Designer.View.SceneViewUpdateScheduleTask.UpdateLate() at Microsoft.VisualStudio.DesignTools.Utility.Scheduler.ScheduleTask.Update() at Microsoft.VisualStudio.DesignTools.Utility.Scheduler.SchedulingService.DispatchTasksAtPriority(DispatcherPriority priority) at Microsoft.VisualStudio.DesignTools.Utility.Scheduler.SchedulingService.DispatcherToken.Dispatch(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.DesignerProcess.RunApplication() at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.DesignerProcess.DesignProcessViewProvider.AppContainerDesignerProcessRun(String[] activationContextArgs) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.DesignerProcess.DesignProcessViewProvider.<>c__DisplayClass3_0.<applicationView_Activated>b__0() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Any ideas? Thank you.

Simple question on Visual Studio. (Visual Basic)

$
0
0

I am a student learning Visual Basic, and the part of the assignment is using a Data Grid to display a table that is in a Data Connection. The problem is that when I start the program, the data table does not show in the Data Grid. I'm brand new to coding in general and the class involves copying the code from the professor's example and using it on your own. The code is below, the file location is correct as I've tested it, so I'm not very sure what the problem is here. I was thinking that the Data Source line may be outdated or something along those lines. But it could also be an error loading the grid.

Private Sub LoadComplaints()
        LoadCombos()
        LoadGrid()
        FormatGrid(grdComplaints)
    End Sub
    Private Sub LoadGrid()
        Dim sql As String

        sql = "SELECT Complaints.ComplainId, Complaints.OpenDate, Status.StatusTitle, "
        sql += "Complaints.Location, Complaints.Description FROM Complaints "
        sql += "INNER JOIN Status ON Complaints.StatusId = Status.StatusId ORDER BY Complaints.OpenDate DESC"

        grdComplaints.DataSource = DB.GetDataView(sql)

    End Sub

Private Sub FormatGrid(ByVal grd As DataGridView)
        Dim rightCellStyle As New DataGridViewCellStyle
        rightCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight

        Dim altCellStyle As New DataGridViewCellStyle
        altCellStyle.BackColor = Color.WhiteSmoke
        grd.AlternatingRowsDefaultCellStyle = altCellStyle

        With grd
            .Columns(0).HeaderText = "ID"
            .Columns(0).AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells
            .Columns(0).DefaultCellStyle = rightCellStyle
            .Columns(0).HeaderCell.Style = rightCellStyle

            .Columns(1).HeaderText = "Opened"
            .Columns(1).AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells
            .Columns(1).DefaultCellStyle = rightCellStyle
            .Columns(1).HeaderCell.Style = rightCellStyle

            .Columns(2).HeaderText = "Status"
            .Columns(2).AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells

            .Columns(3).HeaderText = "Location"
            .Columns(3).AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells

            .Columns(4).HeaderText = "Description"
            .Columns(4).Width = 500

        End With
    End Sub
Public Class DBUtil
    Public cs As String

    Public Function GetDataView(ByVal sql As String) As DataView

        Dim ds As New DataSet
        Dim da As New SqlDataAdapter(sql, cs)

        da.Fill(ds)

        Dim dv As New DataView(ds.Tables(0))
        Return dv

    End Function

    Public Sub New()

        cs = "DataSource=HOACMSDataSet;"
        cs += "AttachDbFilename='C:\Users\beeblico\Documents\Visual Studio 2015\Projects\1041558\1041558\HOACMS.mdf';"
        cs += "Integrated Security=True;Connect Timeout=30"
    End Sub




sqlpubwizinstaller.exe

$
0
0

Hello --

Please  clarify -- I was trying to add more options to my visual studio 2008 install -- SQL --  the installer stop and wants the path for

sqlpubwizinstaller.exe  -- but this files is not on the computer or on the vs2008 dvd -- how is that? where can I find this file?

The file I found on the DVD is sqlpubwiz.msi

what am I missing here?

thanks

fpe


Visual Studio 2015 Update 1 - can't start project with F5 - error "A component dll failed to load."

$
0
0

We observe this error on couple machines already, two of which are fresh Windows 8.1 installation, with <g class="gr_ gr_18 gr-alert gr_gramm undefined Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="18" id="18">fresh</g> VS2015 (Enterprise) installation. Once we install Update 1 and create an empty Windows Forms project, when we hit F5 to start the empty form we get the error: 

---------------------------
Microsoft Visual Studio
---------------------------
Error while trying to run project: Unable to start program 'C:\Users\user\documents\visual studio 2015\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe'.

A component <g class="gr_ gr_37 gr-alert gr_spell undefined ContextualSpelling ins-del multiReplace" data-gr-id="37" id="37">dll</g> failed to load. Try to restart this application. If failures continue, try disabling any installed add-ins or repair your installation.
---------------------------
OK   
---------------------------

If we remove Update 1, it starts working normally.

Can't see anything in the ActivityLog.xml. I have started VS with devenv.exe /Log to produce it and I am copying it from: C:\Users\user\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml.

I have uploaded the log here for reference: https://drive.google.com/file/d/0B4z8Bw-7hU0acXpycG82blBzVDg/view?usp=sharing


Visual Studio Community, and Windows Media Player

$
0
0

I am having trouble with adding the Windows Media Player to the forms toolbox in Visual Studio Community. I go through all the required steps - and then I get this error

Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.6\WinSDK-NetFx40Tools-x86. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task.

I found AxImp.exe in C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin  and so dived into Regedit to tinker with the InstallationFolder value - but the named key was not in the registry!

I went back to a program which uses the Media Player, and which  ran from the VS Start button successfully a few weeks ago - and it produced the same error.

So I have a suspicion that a VS update has introduced a bug. If I reinstall the SDK, will I get the same error? Any thoughts on my correct way forward?

Shorter programs last longer

Need to add required field validator for the fields in Modal form

$
0
0


I have a modal form (bootstrap), I am using asp.net RequiredFieldValidtors for data entry validation inside modal form, but the form was closing, when i click save button within modal form.



<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
     <div class="row">
            <div class="col-md-12">
              <div class="box box-primary">
                 <div class="box-header"> 
                      <asp:Button ID="btnAdd" runat="server" Text="Add Client" class="btn btn-primary pull-right" OnClick="btnAdd_Click"></asp:Button>
                      <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnAdd"
                        BackgroundCssClass="modalBackGround" PopupControlID="Panel1" 
                         CancelControlID="btnTopClose" DropShadow="True">
                    </asp:ModalPopupExtender>
                 </div>
                 <div class="box-body pad table-responsive">
                    <asp:GridView ID="grdClients" runat="server"
                       AutoGenerateColumns="False"   CssClass="table table-bordered table-hover" width="100%" AllowPaging="true"  DataKeyNames="ClientID">
                        <Columns>
                            <asp:BoundField DataField="ClientName" HeaderText="Client Name"   />
                            <asp:BoundField DataField="ContactName" HeaderText="Contact Name" />
                            <asp:BoundField DataField="ContactNo" HeaderText="Contact No." />
                            <asp:BoundField DataField="Location" HeaderText="Location" />
                            <asp:BoundField DataField="Address" HeaderText="Address" />
                            <asp:BoundField DataField="NoOfLicense" HeaderText="No. Of License" />
                         
                        </Columns>
                    </asp:GridView>
                </div>

                    <!-- Modal -->
                <asp:UpdatePanel ID="UpdatePanel1" runat="Server" UpdateMode="Conditional">
                <ContentTemplate>                  
                       <asp:Panel ID="Panel1" runat="server"  class="modal-dialog modal-sm"  tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                         <div class="modal-content">
                          <div class="modal-header">
                               <asp:Button ID="btnTopClose" runat="server" Text="&times;"  class="close" />
                            <h4 class="modal-title">Add Client</h4>
                          </div>
                          <div class="modal-body">
                            <div class="form-group">  
                                <asp:TextBox ID="txtClient" runat="server" placeholder="Client Name" CssClass="form-control" ></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtClient" ErrorMessage="Enter Client Name" ForeColor="Red" EnableClientScript="false" ValidationGroup="Popup" />
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="txtContactName" runat="server" placeholder="Contact Name" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtContactName" ErrorMessage="Enter Contact Name" ForeColor="Red" EnableClientScript="false" ValidationGroup="Popup" />
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="txtContactNo" runat="server" placeholder="Contact No." CssClass="form-control" ></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContactNo" ErrorMessage="Enter Contact No." ForeColor="Red" EnableClientScript="false"  ValidationGroup="Popup"/>
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="txtLocation" runat="server" placeholder="City" CssClass="form-control" ></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtLocation" ErrorMessage="Enter Location" ForeColor="Red" EnableClientScript="false" ValidationGroup="Popup" />
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="txtAddress" runat="server" placeholder="Address" CssClass="form-control" ></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddress" ErrorMessage="Enter Address" ForeColor="Red" EnableClientScript="false" ValidationGroup="Popup" />
                            </div>
                            <div class="form-group">
                                <asp:TextBox ID="txtNoLicense" runat="server" placeholder="No. Of Licenses" CssClass="form-control" ></asp:TextBox>
                                <asp:RequiredFieldValidator Display ="Dynamic"  ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtNoLicense" ErrorMessage="Enter No License" ForeColor="Red" EnableClientScript="false" ValidationGroup="Popup" /> 
                            </div>   
                            <div class="form-group">
                                <div class="checkbox">
                                    <label>
                                    <asp:CheckBox ID="chkActivate" runat="server" Text ="Activate" />
                                    </label>
                                </div>
                            </div>
                          </div>
                          <div class="modal-footer">
                              <asp:Button ID="btnClose" runat="server" Text="Close" cssclass="btn btn-default"  />
                            <asp:Button ID="btnSave" runat="server"  Text="Save" cssclass="btn btn-primary"  ValidationGroup="Popup" OnClick="btnSave_Click" />
                          </div>
                            
                        </div>
                              
                       </asp:Panel>

                 </ContentTemplate>
                 <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                </Triggers>
                </asp:UpdatePanel>
            </div>
           </div>
         </div>












Cant find console application

$
0
0

I have installed Visual studio community, but i cant find c# Console Applications?

I got message that the computer dosent fint it?

I have windows 10 is that the problem ?

VS2013 always wants to rebuild the whole solution in Release

$
0
0
In my solution (main project + #22 projects from which the main one depends) while the Debug config correctly recompiles only the changed source files, the Realease config always tries to recompile all the solution's projects (source files) - exactly what you don't expect from a build automation system.

Visual Studio 2015 community crashes after creating ASP.NET 5 Web App

$
0
0

Installed VS 2015 community

installed ASP.NET 5 RC

New project

C#, WEB ->  Web Application

OK

ASP.Net 5 Templates

Web Application

OK

creating ...

finishes creating

about 5 seconds later Message:

Visual Studio 2015 dows not work anymore

debugging ?   Close Program?

New start and loading of created solution

Same result/message

Error Message after debugging:

Microsoft.VisualStudio.Composition.CompositionFailedException was unhandled
Message: An unhandled exception of type 'Microsoft.VisualStudio.Composition.CompositionFailedException' occurred in Microsoft.CodeAnalysis.Workspaces.dll
Additional information: Expected 1 export(s) with contract name "Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.MiscellaneousFilesWorkspace" but found 0 after applying applicable constraints.

What can I do?

Any further suggestions?

Thank you for your support

Regards

Ulli


be what you would like to be

Cross Platform Mobile Development - Sharing Code Between Platforms

$
0
0

So I'm planning on making an app for Windows (UWP) and Android, and I've been searching around for different resources on the best ways of doing it in VS2015.

So far it seems you create a solution with a project for the Windows specific code, a project for the Android specific code and a project for the cross platform code. The only problem is that they seem to be using a template called "Dynamic Shared Library (Cross Platform)" but I can't seem to find that template anymore, the closest I get is "Dynamic Shared Library (Android).

What's the best way of going about writing as much of my code cross platform as possible?


intelliSense for SVG development?

$
0
0

Visual Studio 2015 Community user here... just curious if there is a way to set up and use intelliSense to assist with the development of .svg files? I know they are XML based, but I've searched around and can't seem to get my head right on this.  Is there a package (i.e. - NuGet) I can use to give me intellisense for manually developing .svg files (not inline HTML)?

Thanks

Jeff

Visual Studio 2015 will not run UWP apps from secondary drive

$
0
0

This has been very frustrating and can't for the life of me figure out a solution to this.

I'm running Windows 10 (clean install) with developer-mode enabled, Visual Studio 2015 Community (with update 1 + all relevant tools).

My primary (C:) drive is an ssd and I have a secondary hdd I use for the bulk of my storage needs (the D drive). Visual Studio 2015 is installed on the c drive and I store my projects on the secondary drive.

If I create a new UWP project on my D drive I cannot run it any mode whatsoever (neither Debug nor Release). I get the following errors:

  • An unhandled win32 exception occured in {project name}.exe [{process id}].
  • Unable to activate Windows Store app "{project guid}!App. The {project name}.exe process started, but the activation request failed with error 'The app didn't start'.
  • The program'{project name}' has exited with the code -532462766 (0xe0434352).

After digging around online a bit I found a few posts about Visual Studio 2015 requiring UWP apps to be on the same drive as visual studio (the C: drive). I also seen that this was an known issue that was supposed to be fixed in the recent visual studio 2015 update. 

Of course, if I keep my project files on my C drive, everything works fine but I have an SSD with limited storage and cannot be wasting space on this drive for every single UWP app I develop...

After updating visual studio 2015, as well as running a repair on it AND running system file checker in admin console (came back clean) I can still not get any UWP app to run if the project file is not on my C drive.

Is there any sort of fix to this???


oh look! A box! Let's type in it!


Workflow Manager Tools 1.0 Cumulative update 3 for Visual Studio 2012 fails to install

$
0
0

I tried to upgrade to CU 3 for workflow manager tools for visualstudio but the web pi fails to install. It throws an exception "Downloaded file failed signature verification and may have been tampered with.

When I tried to download the msi and install it I am getting following error "The signature or catalog could not be verified or is not valid. 

I'm trying to install it on "Windows Server 2012 R2" which has Workflow manager 1.0 (Refresh) with CU 3, workflow manager client 1.0 and visual studio 2012.

Thanks

Ridik








Assistance required with VS 2015 and SQL Server Compact 4.0

$
0
0

I am fairly sure this isn't the right forum for this, but I'm at a loss as to which one would be correct between SQL Server and here.

I am attempting to upgrade an application written in a much earlier version of Visual Studio and using a SQL Server Compact database created in version 3.5.  The database was upgraded without to much difficulty, but now when I try to access the dataset designer, I am getting a message that reads "The Dataset Designer in this version of Visual Studio is not compatible with SQL Server Compact connections."

In my research to this point, there were a number of suggestions to use the SQL Server Compact/SQLite Toolbox plug-in which I have installed.  Nothing I do seems to be able to allow me to access the dataset designer or to make it behave with the application.  Since my compile is showing 512 errors indicating "The type or namespace name 'DSMasterTableAdapters' does not exist...", this isn't a small matter to fix.

So, my question is more looking for answers or options.  Is there a way I can work with my current TableAdaptors without re-writing the whole application?  Can I convert the database into another database type which VS2015 is compatible with but would still remain portable?  Should I just re-write the application with some other method of accessing the data (one blog says something about Linq to SQL)?

Thanks in advance,

Conrad Thonger

Visual Studio Community 2015

$
0
0

I have vs 2005, 2008, 2010, 2012 and 2015 installed on my machine.  I have several vs 2010 installer project that creates an .msi file and whenever I build it, does not matter in release or debug, I get the following window that pops up.  Not sure why and cannot find out why.

Any help figuring this out would be great.

The one log I looked at said everything was successful yet, next time I do the build I get the same window.

Viewing all 21115 articles
Browse latest View live


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