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

Visual studio CTP not compiling VB.net projects!!! worked in CTP5 but not CTP6

$
0
0

could some one please help , work perfectly with VS 2013 but 2015 project not compiling ... details below ..error occurs in a file:

this line in the file causes an issue aparrentley <Vbc  Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "

 <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
       <Vbc  Condition=" '%(_CoreCompileResourceInputs.WithCulture)' != 'true' "
              AdditionalLibPaths="$(AdditionalLibPaths)"
              AddModules="@(AddModules)"
              AdditionalFiles="@(AdditionalFiles)"
              Analyzers="@(Analyzer)"
              BaseAddress="$(BaseAddress)"
              CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"

Exception

----------------

Severity    Code    Description    Project    File    Line
Error        "vbc2.exe" exited with code 10491530.    TridexDynamicDeepObjectClassLibrary    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.CurrentVersion.targets   368 (line number in file)

1>          CORE HELPERS\XML\XmlHelper.vb
1>          My Project\AssemblyInfo.vb
1>          My Project\Application.Designer.vb
1>                  AutoGen=True
1>                  DependentUpon=Application.myapp
1>          My Project\Resources.Designer.vb
1>                  AutoGen=True
1>                  DependentUpon=Resources.resx
1>                  DesignTime=True
1>          My Project\Settings.Designer.vb
1>                  AutoGen=True
1>                  DependentUpon=Settings.settings
1>                  DesignTimeSharedInput=True
1>          Z:\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb (TaskId:20)
1>  Task Parameter:SubsystemVersion=6.00 (TaskId:20)
1>  Task Parameter:TargetType=Library (TaskId:20)
1>  Task Parameter:UseHostCompilerIfAvailable=True (TaskId:20)
1>  Task Parameter:Utf8Output=True (TaskId:20)
1>  Task Parameter:VsSessionGuid=fec35a4d-6120-4ae8-8f4f-04008fd6b4eb (TaskId:20)
1>  C:\Program Files (x86)\MSBuild\14.0\bin\vbc2.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Diagnostics,System.Linq,System.Xml.Linq /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /nostdlib /rootnamespace:DeepProperties /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5" /preferreduilang:en-US /highentropyva+ /doc:obj\Debug\DeepProperties.xml /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"Windows\",PLATFORM=\"AnyCPU\"" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.DataSetExtensions.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Drawing.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\Debug\DeepProperties.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /resource:obj\Debug\DeepProperties.Resources.resources /target:library /utf8output "CORE HELPERS\Batch\Batch(Of T).vb" "CORE HELPERS\Batch\SequenceBatch.vb""CORE HELPERS\Buffer\Buffer(Of deepobject).vb" "CORE HELPERS\CORE MEMORY\HeapState.vb" "CORE HELPERS\CORE MEMORY\HeapTracker.vb" "CORE HELPERS\CORE MEMORY\HeapUtility.vb" "CORE HELPERS\CORE\BindingFlags.vb""CORE HELPERS\CORE\ControlChars.vb" "CORE HELPERS\CORE\DebugHelper.vb" "CORE HELPERS\CORE\StringHelper.vb" "CORE HELPERS\CORE\TypeHelper.vb" "CORE HELPERS\Encryption\EncryptDecrypt.vb" "CORE HELPERS\Encryption\Encryption.vb""CORE HELPERS\Exceptions\AggregateException.vb" "CORE HELPERS\Exceptions\DeepObjectArithmeticException.vb" "CORE HELPERS\Exceptions\DeepObjectDataException.vb" "CORE HELPERS\Exceptions\DeepObjectException.vb" "CORE HELPERS\Exceptions\DeepObjectNonNumericException.vb" "CORE HELPERS\Exceptions\DeepObjectNotSupportedException - Copy.vb" "CORE HELPERS\Exceptions\DeepObjectSaveException.vb" "CORE HELPERS\Exceptions\DeepObjectTimeoutException.vb""CORE HELPERS\Exceptions\DuplicateNotAllowedException.vb" "CORE HELPERS\Exceptions\ExceptionExtensions.vb" "CORE HELPERS\Exceptions\IllegalStateException.vb" "CORE HELPERS\Exceptions\NotFoundException.vb" "CORE HELPERS\Exceptions\NoValueAvailable.vb" "CORE HELPERS\Exceptions\PreprocessingException.vb" "CORE HELPERS\Exceptions\UndoException.vb" "CORE HELPERS\Exceptions\ValidationException.vb" "CORE HELPERS\Extentions\ByteExtensions.vb""CORE HELPERS\Extentions\Check.vb" "CORE HELPERS\Extentions\Extentions.vb" "CORE HELPERS\Extentions\Extentions Exception\ExceptionExtensions.vb" "CORE HELPERS\Extentions\Extentions Exception\Failure.vb" "CORE HELPERS\Extentions\Extentions Exception\Handler.vb" "CORE HELPERS\Extentions\Extentions of Functions\FuncExtensions.vb" "CORE HELPERS\Extentions\Extentions of Functions\IEnumerableExtension.vb" "CORE HELPERS\Extentions\Extentions of Functions\ToWordsExtentions.vb""CORE HELPERS\Helpers\DataUtilities.vb" "CORE HELPERS\Helpers\DisposableUtil.vb" "CORE HELPERS\Helpers\Guard.vb" "CORE HELPERS\Interfaces\IEditableObject.vb" "CORE HELPERS\Interfaces\IOrdered\IOrdered.vb" "CORE HELPERS\Interfaces\IOrdered\OrderComparator.vb" "CORE HELPERS\Maths\Interval.vb" "CORE HELPERS\Maths\NumberUtils.vb" "CORE HELPERS\Maths\Period.vb" "CORE HELPERS\Maths\ThreadSafeRandom.vb" "CORE HELPERS\PageNation or Paging\IPaginatedList.vb" "CORE HELPERS\PageNation or Paging\PagedDataHelper.vb" "CORE HELPERS\PageNation or Paging\PaginatedArrayList.vb" "CORE HELPERS\Random\ThreadSafeRandom.vb" "CORE HELPERS\Sort\CORE\Sorting.vb""CORE HELPERS\Sort\Dynamic XML Helper.vb" "CORE HELPERS\Sort\SortableList(Of T).vb" "CORE HELPERS\Sort\SortedTopN(Of TKey, TValue).vb" "CORE HELPERS\Statistics\DeepObjectNodeStatistics.vb" "CORE HELPERS\Statistics\IStopwatch.vb""CORE HELPERS\Statistics\StopwatchEx.vb" "CORE HELPERS\Tree\DeepBinaryTree.vb" "CORE HELPERS\Tree\DeepTreeNode(Of T).vb" "CORE HELPERS\XML\XML Serializtion Extention Good\CustomXmlSerializer.vb" "CORE HELPERS\XML\XML Serializtion Extention Good\XMLTraceListener.vb" "CORE PROPERTIES DYNAMIC\Deep Properties CORE\DeepObject Event Handlers.vb" "CORE PROPERTIES DYNAMIC\Deep Properties CORE\DeepPropertiesNode.vb" "CORE PROPERTIES DYNAMIC\Deep Properties CORE\DeepPropertiesList(Of , V).vb" "CORE PROPERTIES DYNAMIC\Extentions Scripting GOOD\Script.vb" "CORE PROPERTIES DYNAMIC\Extentions\DeepObject Extentions.vb" "CORE PROPERTIES DYNAMIC\Extentions\DynamicNodesExtentions.vb""CORE HELPERS\Interfaces\ISwap.vb" "CORE PROPERTIES DYNAMIC\Reflection\ObjectProperty.vb" "CORE PROPERTIES DYNAMIC\Reflection\ReflectionAccess.vb" "CORE PROPERTIES DYNAMIC\Reflection\Relay.vb" "CORE PROPERTIES DYNAMIC\Reflection\Serializer.vb""CORE PROPERTIES DYNAMIC\Sort.vb" "CORE PROPERTIES DYNAMIC\SortedFloatList.vb" "CORE HELPERS\XML\XmlHelper.vb" "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb""My Project\Settings.Designer.vb" "Z:\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb" /sqmsessionguid:fec35a4d-6120-4ae8-8f4f-04008fd6b4eb (TaskId:20)
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.VisualBasic.CurrentVersion.targets(368,9): error MSB6006: "vbc2.exe" exited with code 16520362.
1>Done executing task "Vbc" -- FAILED. (TaskId:20)
1>Done building target "CoreCompile" in project "DeepProperties.vbproj" -- FAILED.: (TargetId:47)
1>Target "_CheckForCompileOutputs: (TargetId:48)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\tridex\Desktop\TridexDeepObject2 2015\DeepProperties\DeepProperties.vbproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
1>Added Item(s): FileWrites=obj\Debug\DeepProperties.xml
1>Set Property: _DebugSymbolsProduced=false
1>Done building target "_CheckForCompileOutputs" in project "DeepProperties.vbproj".: (TargetId:48)
1>Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
1>Target "_CleanGetCurrentAndPriorFileWrites: (TargetId:49)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\tridex\Desktop\TridexDeepObject2 2015\DeepProperties\DeepProperties.vbproj" (target "_CleanRecordFileWrites" depends on it):
1>Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>Task "ReadLinesFromFile" (TaskId:21)


.. Tridex ...




VS 2013 Auto-Removes References on Removing Project

$
0
0
I've recently moved from VS2010 to VS2013 and am having serious issues using the new IDE.  Previously if I removed a project from a solution, the references were left intact in the other projects.  When I opened other solutions containing these projects, they were still complete.  Now, when I remove a project from a solution, the reference to that project is removed from all projects in the solution.  This is breaking all of my solutions and causing a significant level of work for me to find and recover the references.  How can I disable this behavior?

Visual Studio '13 bold problem

$
0
0

For some reason, instead of erasing a character with backspace, it keeps replacing the letter??? For example

 cin <<   if I want to write something between I and n, it would highlight I and whatever I write would replace I

Anyone can help?

I cannot add a dll reference to my vs2013 project

$
0
0

My company recently upgraded to vs2013 from vs2010 and I created an new vs2013 project with all the exact properties as the vs2010 project which works fine. 

when I run the vs2013 project I get the error:
"The program can't start because icuin48.dll is missing from your computer. Try reinstalling the program to fix this problem"

in the property page  Configuration Properties/linker/Additional Dependencies I list the .lib files associated with the .dll as follows:
c:\bin\icuuc.lib;c:\bin\icuin.lib;%(AdditionalDependencies)

In the properties page Configuration Properties/VC++ directories/Reference Directories  I have:
C:\bin;$(ReferencePath)

If I go to Common Properties/references click add reference. I can't select the dll. or add a reference. it displays a blank screen

In the properties page Configuration Properties/VC++ directories/Library Directories I have:

C:\bin;$(LibraryPath)

but still I get the error the .lib and .dll are both in the c:\bin directory
this works for vs2010 and I can run and debug my project all day long
Why is this not working in vs2013
How do I fix is?
what am I not understanding about vs2013?

How to build x64 programs

$
0
0

Hi,

I have a newbie question.  Its been asked dozens of times in these forums yet I cannot find any other post that truely has an answer.   So please bear with me...

Ive been using the same version of Visual Studio for a very very long time (since 1999, Visual Studio 6.0 Professional). However, it is now too out of date to be of much use so its time to upgrade.   I decided to try out the free express version.  Downloaded Visual Studio Express 2012.  Ive been using it for about 4 months now and im starting to get pretty comfortable with it.   So far, everything I have done has been for 32 bit architecture.

But I now have a need to build a program (windows DLL) for an x64 architecture.   Not a 32-bit program running on WoW64, a TRUELY 64 bit program.  I need to do this because its a DLL for use with a third party program that was built as a 64 bit program and thus it cannot load 32 bit libraries. 

So I looked for a selection to select the target architecture of an existing project to x64 architecture and none found.   Then I look for an option to create a new project for Win64, none found.  

How do I make Visual Studio 2012 Express build a 64 bit program?    Im not sure if the express edition even includes the ability to target x64 architecture?  If not, I heard something about using SDK compiler to do it from the command line, but I need instructions on how to do that.  

Your help is greatly appreciated!

Thanks

Josh

Dropdown list width in textbox datagridview control

$
0
0
In a VB.NET Windows form, is it possible to assign the size on the width of the dropdown on a textbox in a datagridview control. The textbox is programed with the CustomSource from a datasource with AutoComplete and SuggestAppend property. I  do not want to widen the column's width to the textbox but I like to widen the width of the dropdown list in case the value in the dropdown list is wider than the column's width of the textbox, if so, how to program it in VB. Thanks

Kahlua

New project in solution not under source control (Visual SourceSafe)?

$
0
0

I'm using Visual Studio 2010 Premium with Visual SourceSafe 6.0 (VSS).  I started out creating a C# ASP.NET web site solution and added it to VSS.  I then added a C# console application project to the solution.  Then I decided to convert the console application to a Windows service with the same project name so I made a backup copy of the console application directory and deleted the console application project from my Visual Studio and VSS.  Now, for some reason, when I try to add a new Visual Studio project with the same name as my old console application project, all the project files get added to VSS but my Visual Studio indicates (with a yellow plus sign) that the project is "not under source control" even though the project files are shown as "checked in".  However, when I look in VSS my .csproj file is in a folder with my project's name along with Service1.Designer.cs.  Program.cs and Service1.cs are not in VSS even though my Visual Studio shows these two files as "checked in".

The reason why I want this Windows service project inside a C# web site solution is because both share a LINQ 2 SQL dbml.

Can someone tell me how to fix this problem with VSS?  Thanks in advance!

VS2015 RC MSB3086 using MSBuild, VS builds fine

$
0
0

I installed Windows 10 Tech Preview (10074) and Visual Studio 2015 RC, and am trying to build my solution (which was previously built with Visual Studio 2013)

If I build in VS, everything builds successfully, however when I use MSBuild I get this error on a handful of projects (not all of them)

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2428,5): error MSB3086: Task could not find "LC.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86".
Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed.

This doesn't exist on Windows 10, how do I update this to use the current Windows SDK? What is 8.0a? Is that coming from Visual Studio 2013? Why should I have to install that, too? Very confused.

Thanks!


Offline with MSDN developer Visual Studio license.

$
0
0
I need to work totally offline on some machines.  If I install the VS Professional that comes with my MSDN license, it works for 30 days and then asks me to enter my credentials.  But it can't check the license because I'm offline.  How do I get past this?

Object browser search input missing

$
0
0
I recently opened the object browser to search for something but all of a sudden there is no search input box. The only input box is the dropdown for the different frameworks. The search is gone. Any ideas?

different behavior of the application between the development environment and published in iis

$
0
0

Hi

I have na application made in vs2010 and correct in vs2013. in the development environement, all is ok. but, in the iis published version, i see some unexpeted diferences. for exemple, i have un image button in a gridview event SelectedIndexChanged that make visible a checkBox in developement environment but in published version this doesn't occur.

anyone can help me to understand why this happens?

Thanks.

Designer error "Could not load type XXX. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully build using settings for your current..

$
0
0

Hello,

We have been debugging into this issue to get root cause designer crash no success yet. We have a Custom control (Slide) build with .NET 4.5 that depends on assembly C (version 13.0.40.188) build with .NET 4.0.

Now on the system where we install out products - 

Assembly that contains Slide exist at two different location

  1. Program Files - from where visual studio loads it for designer
  2. GAC - from where its loaded at runtime

Assembly C exists at 2 different location 

  1. Program Files
  2. GAC

This system also has some of our other products installed that installs 3 different version of assembly C living in GAC

  1. 13.0.40.188 - Installed with product A
  2. 13.5.40.173 - Installed with product B
  3. 15.0.40.32776 - Installed with Product C - which only need to have assembly C in GAC

Program files contains assembly C version 13.5.40.173 (installed by product B)

Important notes:

  • We also have a publisher policy files for assembly C that loads the latest version of assembly C (15.0.40.32776) at runtime.
  • To make sure assembly C backwards compatibility and proper working of publisher policy files - we tried building and running this application from within Visual Studio and outside Visual Studio. Project build fine and runs fine without any errors logged.
  • We also made sure there are no generic in design environment.
  • All these assemblies that we use are Any CPU.

With above 3 products installed, user can use the Slide control in Visual Studio, and drop in to Windows Form Designer.

When we try to set property of Slide Control named SlideStyle which is of type derived from type EO in Assembly C, thru PropertyEditor/Form.Designer.cs it correctly changes the appearance as expected. But problem comes as soon as we close and reopen the designer - it cannot find a type SlideStyle and shows following error:



Shura

Change ownership of a Visual Studio Extension in Visual Studio Gallery

$
0
0

Hi,

My team has a visual studio extension (https://visualstudiogallery.msdn.microsoft.com/1177943e-cfb7-4822-a8a6-e56c7905292b) and I want to be able to upload to it. How do we change ownership of this tool or make it possible for more than one user to publish updates to the tool?

Thanks,

Connie

MSDN Subscription

$
0
0

If I was to purchase Visual Studio 2013 Pro with MSDN, do I need to pay a renewal fee each year for MSDN?  Also, once 2015 comes out, will it work the same or not?  IF I buy 2013 Pro with MSDN, how much willl it cost to upgrade to 2015?  Or is it cheaper to just wait for 2015 to come out?   I would like an MSDN subscription, but if it's a recurring fee of several hundred dollars it's not practical for a small development team.

Thanks

VS 2015 RC freezes frequently when including javascript

$
0
0

Hi,

I have VS 2015 RC and are editing some html files. When I include some javascript in the html code Visual Studio starts to freeze (not responding) in every 10 second.

Have code like:

<html><body><h1>Hello</h1><script async src="some url"><script>
..some other javascript code..</script></body></html>

If I remove the javascript the freezes disappear. What is VS doing and how to prevent the freeze?


File menu in Visual Studio 2015 RC contains menu item in non-english font with sub-menu items as FIND and ADVANCED that also contain non-english font sub-menu items

$
0
0

File menu in Visual Studio 2015 RC contains menu item in non-english font with sub-menu items as FIND and ADVANCED that further contain non-english font sub-menu items.

Appreciate any help to fix this issue.

Visual studio express package

$
0
0

Hi,

I'm working on developing how do I code so that when I click a button on the menu it will take me to another screen. I tried using the pagename.show(), but it is not working. I think it might have to do with that it's xaml . Any help would be greatly appreciated! Thanks

How to step out of a Method when getting a bug?

$
0
0

For example I got a method like

private void A()

{

  double a = obj.a; //lets say obj is null and hence we get an error when running the method.

   ....

   ....

   //200 or so more lines.

}

I know I can drag the statement to the end of method in order to exit it. But I was wondering whether there would be a way to use a shortcut key to achieve the same. I know shift + F11 would step out if there aren't any errors but that's not the case here!

VS2015RC: bower cannot get packages with protocol git, since behind a firewall, how chagen to https?

$
0
0

I get the following error message:

ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/twbs/bootstrap.git", exit code of #-532462766

How can I change bower/git, so it does use HTTPS as the protocol instead of GIT?

Thankx, Harry

Intellisense not working, K2526044 fix not available

$
0
0

I have read a lot of discussions where the problem of Intellisense on WindowsXP was solved with the hotfix K2526044.

However, looks like this hotfix has been archived. I am looking for a solution. https://support.microsoft.com/kb/2526044?wa=wsignin1.0

I understand that you are not supporting XP anymore, but can atleast provide the hotfix that was available before.

Viewing all 21115 articles
Browse latest View live


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