问题标签 [new-project]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
725 浏览

android - 新项目 Android Studio 2.3.1 问题

我刚刚更新Android Studio了版本2.3.1,我想开始一个新项目。但是Menu改变了,我找不到用所有标准库创建一个空项目的正确方法。 更新版本的新项目的图像

你能帮助我吗?

0 投票
1 回答
509 浏览

linux - 使用 Gnome-Builder 创建新项目

是否可以使用Gnome-Builder从零开始创建项目?

当我打开它时,只允许我从我的计算机或远程加载现有项目,但我不能创建一个新项目,但在官方网站上据说可以这样做。
对不起英语不好。

0 投票
0 回答
460 浏览

sql-server - 无法在 Visual Studio 2013 中创建 SQL Server 数据库项目

请我需要帮助,我想在 Visual Studio 2013 中创建一个 SQL Server 数据库项目。

我尝试了 File -> New -> Project .. 但我在菜单中找不到 SQL Server 选项:

在此处输入图像描述

我发现我必须从此链接 https://www.microsoft.com/en-ca/download/details.aspx?id=42313为 VS2013 安装 SSDT

下载 SSDT 后,我只得到了商业智能选项,如图中的菜单所示。

有人建议下载 Visual Studio 更新 3。我尝试从 Microsoft 的此网页下载更新https://support.microsoft.com/en-us/help/2829760/overview-of-visual-studio-2013-updates

但没有一个下载链接有效!

在 VS2013 中创建 SQL Server 项目我还能做什么?

0 投票
0 回答
158 浏览

c# - Xamarin UWP 项目中的 System.Core v4.0.0.0 异常

目前,我有一个适用于 Android 和 iOS 应用程序的 Xamarin 表单项目。该应用程序在 Android 和 iOS 上都能完美运行。我也想在 Windows 中提供支持。所以我按照下面的链接将 UWP 项目添加到我的解决方案中。

https://developer.xamarin.com/guides/xamarin-forms/platform-features/windows/installation/universal/

为 UWP 添加新项目后,将使用 UWP 作为启动项目构建解决方案。但是,当我尝试在本地机器中运行应用程序时。我收到以下错误。

我在 VS2015 和 VS2017 中都尝试过,它们都提供了相同的错误(VS2015 提供了另外两个关于 mscorlib 的错误,这在 VS2017 中没有出现)。

这是错误的堆栈跟踪。

在 System.ModuleHandle.ResolveType(RuntimeModule 模块,Int32 typeToken,IntPtr* typeInstArgs,Int32 typeInstCount,IntPtr* methodInstArgs,Int32 methodInstCount,ObjectHandleOnStack 类型)在 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule 模块,Int32 typeToken,RuntimeTypeHandle[] typeInstantiationHandle ] methodInstantiationContext) 在 System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 在 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport 范围, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType、Boolean mustBeInheritable、Object[] 属性、IList derivedAttributes、RuntimeType&System.Reflection.CustomAttribute.GetCustomAttributes 中的属性类型、IRuntimeMethodInfo& ctor、Boolean& ctorHasParameters、Boolean& isVarArg) RuntimeAssembly 程序集,RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) 在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) 在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e)IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes 程序集(RuntimeAs , RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) 在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable` ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e) 上的 1 个渲染器组件IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes 程序集(RuntimeAs , RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) 在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable` ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e) 上的 1 个渲染器组件Boolean& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System .Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) at Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) at Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) at ShowCaseSample。 UWP.App.OnLaunched(LaunchActivatedEventArgs e)Boolean& isVarArg) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System .Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) at Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) at Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) at ShowCaseSample。 UWP.App.OnLaunched(LaunchActivatedEventArgs e)在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType) , 布尔继承) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) 在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) 在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e)在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType) , 布尔继承) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes) 在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) 在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e)Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes)在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) 在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e)Boolean isDecoratedTargetSecurityTransparent) 在 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 在 System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 在 Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes)在 Xamarin.Forms.Forms.Init(IActivatedEventArgs launchActivatedEventArgs, IEnumerable`1 rendererAssemblies) 在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e)在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e) 处初始化(IActivatedEventArgs launchActivatedEventArgs,IEnumerable`1 rendererAssemblies)在 ShowCaseSample.UWP.App.OnLaunched(LaunchActivatedEventArgs e) 处初始化(IActivatedEventArgs launchActivatedEventArgs,IEnumerable`1 rendererAssemblies)

0 投票
1 回答
684 浏览

eclipse - 如何使用 Eclipse EGit 在 Git 存储库根目录中创建项目?

我想将一个全新的 Eclipse 项目的项目文件添加到 git repo 的根级别。我希望它看起来像这样:

但是,Eclipse Egit 向导没有提供明显的方法来做到这一点,并且坚持创建一个不需要的子目录(下面的屏幕截图):

如何让 Eclipse 在存储库根目录中添加我的文件?

我知道 Egit 手册不建议这样做,但我不打算在此存储库中拥有多个项目,因此额外的目录是不必要的(并且计入 Windows 上的文件系统路径限制)。不建议这样做的事实告诉我,它一定是有可能的(或者文档有误)。


系统信息:

Windows 7 64 位

Eclipse Oxygen Java EE (4.7.0 Build id: 20170620-1800)

Eclipse EGit 4.8.0.201706111038-r


Eclipse 当前不良行为的屏幕截图

配置 Git 存储库向导。我想更改的大部分内容,例如Target Location,都是不可编辑的。 Path within repository只能用于添加更多额外的文件夹。 Use or create repository in parent folder of project具有自由文本存储库路径输入,但只有父文件夹将验证并可以使用。 配置 Git 存储库向导屏幕截图

导致不需要的 Git 存储库结构。我希望我的项目文件位于此目录中,而不是额外的“TestProject”文件夹中: Git 存储库目录结构,带有不需要的子目录

0 投票
1 回答
144 浏览

python - 在 Visual Studio 中为其他版本的 Django 创建生成的新项目

为什么每次我在 Visual Studio 中创建一个新项目时,它都使用 1.9.1 版本的 Django 而不是 2.0.3 版本?我必须创建项目,然后将 Django 的版本升级到 2.0.3,因为它会导致我在使用其他版本的 Django 时遇到 MIDDLEWARE 问题。

在我的 settings.py 中:

这是我的解决方案资源管理器:

然后我去安装 Python 包

并选择 Django 包:

并用箭头将 Django 升级到 2.0.3。但是文件 settings.py 保持不变。

我的问题是为什么每次创建新项目时都必须这样做?我怎样才能使更改保持不变?

谢谢你的帮助!

0 投票
1 回答
191 浏览

java - Pom.xml SPring Starter 项目中的异常

我用 Spring Starter Project 创建了一个项目,但我pom.xml给了我这个例外:

0 投票
1 回答
345 浏览

java - 无法用 spring 启动 gradle 项目

我已经在 Spring Tools Suite 上安装了 Gradle 插件。

当我开始 gradle spring 项目时,该项目没有被创建,我得到以下异常:

Maven 项目启动没有任何问题。

我的配置是 - Windows 7(64 位)STS(32 位)JRE 1.8(32 位)

0 投票
1 回答
23 浏览

android - “创建新项目”按钮显示非 Android 项目创建屏幕

我单击“创建新项目”按钮,但它显示了下面的窗口,而不是常规的 Android 项目创建屏幕。我怎样才能解决这个问题?

在此处输入图像描述

0 投票
1 回答
508 浏览

visual-studio - 无法创建新的 .Net Core 控制台应用程序

我已经安装了 Visual Studio 2017 Professional 版本 15.4.0,并且我正在尝试创建一个新的 .Net Core 控制台应用程序,但我收到了以下消息:

在安装过程中,我检查了以下选项:

精选套餐 遇到问题后,我再次运行安装程序,选择“修改已安装的组件”,并标记“.NET Core 1.0 - 1.1 Web 开发工具”和“.NET Core 运行时”安装没有成功。之后,我从 Microsoft 网站下载了 .Net Core SDK,现在,我收到此消息,没有更多信息。 项目创建失败 有什么解决办法吗?